plger / scDblFinder

Methods for detecting doublets in single-cell sequencing data
https://plger.github.io/scDblFinder/
GNU General Public License v3.0
162 stars 17 forks source link

Return threshold in output? #71

Closed maryellenlynall closed 1 year ago

maryellenlynall commented 1 year ago

Would it be possible to return the doublet threshold as part of the standard output, rather than only printing to console, so that it can be used programatically? The full output becomes very unwieldy with an R environment with multiple large datasets so it would be v helpful to have this as a standard output to help interpret the doublet scores in the output.

plger commented 1 year ago

Good point, now saved in metadata(sce)$scDblFinder.threshold

maryellenlynall commented 1 year ago

Thanks!

plger commented 1 year ago

(fyi I had introduced a mistake through a typo in the same time, just pushed the fixed version now)

maryellenlynall commented 1 year ago

Many thanks!