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
Merge_Sparse_Data_All with multimodal sparse matrices #104
Comments
Hi POA, Thanks so much for kind words and so glad package is working well for you!! Could you post the full code that you are running so I can try and figure out where the error is? I have idea but helpful to see full code. Thanks!! |
Hi Sam, Thanks for the quick reply and for looking into it! The code is as follows: GSE175453 <- Read10X_GEO(data_dir = "~/ExternalData/GSE175453/") # This works fine, and creates a list of lists with RNA and ADT data for each of the 9 samples GSE175453_merged <- Merge_Sparse_Data_All(matrix_list = GSE175453) # This returns the following error:
Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hi, Sorry for my delayed response. So the issue is due to the presence of both Gene expression and ADT for each sample. Therefore the list returned by read function is actually a list of lists that instead of a list of matrices which is what the merge function is expects. I will work on fox to detect the presence of multimodal data and return merged matrix for each modality. I will update here when pushed to dev branch. Best, |
Thanks very much! |
Hi, The fix is now deployed in develop branch (v1.1.1.9008). There is new function called
Best, |
Hi Sam,
Fantastic package -- thanks for addressing many pain points of scRNA-seq analyis! In particular, I'm finding your Read/Write Data functions really helpful as I'm accessing data from NCBI GEO. One issue though: I just downloaded data from
and used Read10X_GEO to generate a list of lists of sparse matrices (both Gene Expression and Antibody Capture for each sample). However, when I try to use Merge_Sparse_Data_All to create a single matrix as follows:
GSE_merged <- Merge_Sparse_Data_All(matrix_list = GSE_10X)
I get the following error:
Preparing & merging matrices.
| | 0%Error in curr_s[, 2] + col_offset :
non-numeric argument to binary operator
In addition: Warning message:
In format(as.integer(ll)) : NAs introduced by coercion to integer range
Would appreciate any suggestions/assistance.
Thanks,
POA
# insert reproducible example here
sessionInfo() output
The text was updated successfully, but these errors were encountered: