Closed denvercal1234GitHub closed 1 year ago
CATALYST doesn’t know you’re data has already been transformed, so it’ll apply an arcsinh transformation by default. You can turn this off by setting transformation=FALSE in prepData() (& rename the - what should then be the one and only - assay to “exprs” as suggested above); see also the function documentation.
Hi @helenaLC - thank you for the response. But the issue was unfortunately even when I set transformation = F in ‘prepData’, it still produces exprs assay slot as shown in the code above.
Should be transform=FALSE, my mistake… but again: please see the function documentation 🙏
Hi there,
I transformed my FACS data in FlowJo with bi-exponential transformation and exported the data as channel values (.csv) so the transformation was preserved.
In order to get the FCS files but with transformed data, I then read in the channel values (.csv) into R using
Spectre::read.files
, then exported the files out asFCS
usingSpectre::write.files
. These exported FCS files are now transformed.I then used
flowCore::read.flowSet
to read in the transformed FCS files as a flowSet settingtransformation = FALSE
, before performingprepData
.However, when I ran
assayNames(F37_channel_fcs_data_sce)
, it already hadcounts
andexprs
assays, without me doingassayNames(sce) <- “exprs”
as suggested in #122The output of
CATALYST::plotScatter(F37_channel_fcs_data_sce, c("CD183", "CD185"), assay = "counts")
looks like this:The output of
CATALYST::plotScatter(F37_channel_fcs_data_sce, c("CD183", "CD185"), assay = "exprs")
looks like this:Would you mind letting me know which assay I should use for the clustering from here? Because the
exprs
does not look right (all the cells have expression at 5 and no cells have 0 expression), whereas it looks likecounts
is actually what I expect to use for downstream clustering.In fact, if I proceed with the clustering with default parameters (i.e., using
exprs
assay), all markers across clusters are expressed at around 5 as the baseline.Thank you very much for your help!