Entering edit mode
2.2 years ago
angus.j.g.campbell
▴
10
I want to use a seurat normalization method on a scRAN-seq dataset, specifically the integration method they use to normalize across differnt species or datasets. Tutorial is here. Seurat objects store data in a sparese matrix and after the integration I am not performing the clustering I am using it for another purpose and I need it as a regular dataframe. How can I pull the sparse matrix out as a regular dataframe? In case this wasn't clear I am using R.
Just a warning that casting a sparse matrix into a dense matrix may require a lot of memory.
For some general advice make sure that integrated values are appropriate for your analysis. Normally integrated values are used for dimension reduction and clustering only, and log normalized counts are used for most other things like e.g. plotting.
I've trained a RF on some mouse data for a rare cell type. I'm looking for them in humans now using the same classifier (restricted to 1 to 1 orthologs present in both the mouse scRNA-seq and the human scRNA-seq). The RF works on other mouse datasets and I'm able to manually spot signs they should be in the human dataset but the RF isn't working in the human dataset. I'm hoping the integrated transform for seurat can fix my problems. Its just a shot in the dark, not sure if it will work but it may be a quick fix.