Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAs error #12

Open
afshinmoradi opened this issue Aug 15, 2022 · 4 comments
Open

NAs error #12

afshinmoradi opened this issue Aug 15, 2022 · 4 comments

Comments

@afshinmoradi
Copy link

Dear,

I got this error
Do you have any idea how to fix it

Your help is appreciated .

Best regards

Error in current_scoring_matrix[unassigned_cells, cell_type_num[i]] <- GetScore(activation_prob_to_use, :
NAs are not allowed in subscripted assignments
In addition: Warning messages:
1: In lineage_info$Cell_type_number == previous_level_type :
longer object length is not a multiple of shorter object length
2: In current_cell_type_assignment[, previous_level_round] == previous_level_type :
longer object length is not a multiple of shorter object length

@andrewjUTSW
Copy link

Hi there! I think I also encountered this.
And I think I may have fixed the issue with this pull request: #11
You can check my forked repo for the corrected code: https:/andrewjUTSW/CELESTA

@afshinmoradi
Copy link
Author

Thanks for that

@weiruo16
Copy link
Contributor

Hi, we have fixed the issue with empty unassigned cells in the main branch. Please try it again. In addition, the warning messages may indicate that the input cell-type signature has some formatting errors, which may actually cause the error.

@matthew-lee1
Copy link

Hello,

I have recently installed the latest version of CELESTA and am still getting the following error:

Error in current_scoring_matrix[unassigned_cells, cell_type_num[i]] <- GetScore(activation_prob_to_use,  : 
  NAs are not allowed in subscripted assignments
In addition: Warning message:
In lineage_info$Cell_type_number == previous_level_type :
  longer object length is not a multiple of shorter object length

If needed i can provide code, however it is essentially identical to the code given in README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants