Closed bbimber closed 2 years ago
The plotting functions do need a bit of updating and really work best when you manually specify the genes. I don't have the time to rewrite them at the moment, but it's on the todo list.
However, you should be able to extract the marker genes autoEstCont
uses. They are stored in the fit
object. So sc$fit$markersUsed
has the list of genes used after all filtering.
Hello,
Broadly speaking, I am trying to determine the best ways to visualize gene changes before/after running 10x data through your autoEstCont() vignette:
However, when running this dataset through:
We get the error:
When we call autoEstCont(), code is run to identify non-expressed genes. autoEstCont() also calls setContaminationFraction(). When run through the autoEstCont codepath, a set of genes is selected, and setContaminationFraction() is passed a valid result. From the logging, we see it initially finds 82 potential genes, but this is filtered to 35.
When we dont supply nonExpressedGeneList, plotMarkerDistribution() also tries to guess the marker genes. Based on the error, it also starts with 82 genes. It doesnt appear to apply the secondary filter.
My questions are: