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

scRNA reference matrix issues #26

Closed
SBaek613 opened this issue Jun 9, 2022 · 1 comment
Closed

scRNA reference matrix issues #26

SBaek613 opened this issue Jun 9, 2022 · 1 comment

Comments

@SBaek613
Copy link

SBaek613 commented Jun 9, 2022

Hi, thanks for the great tool.

I have been trying this tool out for deconvolution of TCGA bulk-RNA dataset with scRNA reference matrix of my own.

I am mainly using Seurat for scRNA-seq data and as always, the main problem is that it's impossible to extract non-sparse matrix from Seurat due to limitation of matrix format (with maximum number of elements being ~2^31).

Originally, I have about 180,000 cells with 40000 features and I was able to filter features down to about ~20000 genes. I would like to keep the cell number as same as possible but that is probably impossible to do. As far as I know, this tool does not accept sparse matrix with dgCMatrix format or accept unloaded 'txt' files stored in the drive.

So I came up with a couple of 'work-around' to this situation but not sure which one would be the best fitting for this tool.

  1. Randomly subset the data. Bringing it down to about 1/3 of original cell counts would give me non-sparse matrix without errors.
  2. Make collapsed count matrix for each major cell type. I read from the tutorial that I can use collapsed count matrix, but I am a bit worried that doing that might impact the results. And if I were to use the collapsed matrix, would I just combine counts of each gene for each cell type?

I would appreciate any advice!

@tinyi
Copy link
Collaborator

tinyi commented Jun 9, 2022 via email

@SBaek613 SBaek613 closed this as completed Jun 9, 2022
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

2 participants