Closed cswoboda closed 4 years ago
If you look at the code for load10X
you'll see that really all it does is call SoupChannel
which is the direct way of creating a SoupChannel object. I hope to update the documentation and perhaps add some more helper functions for people not using the cellranger defaults at some point.
But basically all you need to do is supply SoupChannel with three things:
DR
parameter to the column names of the dimension reduction of the meta-data.Look at the help for SoupChannel
for more details.
Hello!
With the new update of SoupX, I noticed that since the soup channel objects get data directly from the cell_ranger_output, if you create a Seurat object to get cell embeddings that has a filtering step like in the standard Seurat pipeline, you get an error when trying to run plotMarkerMap() with useToEst because the sc object and Seurat_DR will have different cell counts. This can be fixed by removing filtering steps in the Seurat pipeline, however that leaves in low quality cells that I'm unaware if they will impact the global contamination.
Thanks! Casey