Closed denvercal1234GitHub closed 11 months ago
Re reduced dimensions: Yes, so unless you run runDR(..., cells=NULL)
(i.e., using all cells), cell embeddings will not be available (NA) for all cells. So you either have to specify cells=NULL
, or filter out cells for which reduced dimensions are not available via
dim_red <- reducedDim(sce)
sub <- filterSCE(sce, !is.na(dim_red[, 1]))
sce2fcs(sub, ...)
Re the second issue, I don't know. This looks like it comes from flowCore
not CATALYST
... So I am not sure whether it is caused by the FCS to SingleCellExperiment
to FCS conversion, or is something that's off with the original FCS files...
Thanks @HelenaLC.
I checked and the second warning of truncation occurs during the conversion of sce
to flow set during the CATALYST::sce2fcs
running. Is it possible to add some option to specify truncate_max_range = FALSE
within the CATALYST::sce2fcs
?
Thanks again for your help.
Hi there,
Thank you very much for the detailed tutorial.
I attempted to export my
sce
object back to FCS files for manual gating in FlowJo.When
keep_dr = T
, it generated Warning and Error. The warning is due to DR being ran only on a subset of cells and not all cells (https://github.com/HelenaLC/CATALYST/issues/152); however, I am not sure how to fix the Error.But, when I set
keep_dr = F
, the error went away, but new Warning came up.Would you mind helping me understand this Warning and whether there is certain step I need to do prior to subsequent
write.FCS
step in thefor
loop?Thank you for your help.