Closed denvercal1234GitHub closed 1 year ago
This issue isn't related to CATALYST
, but has to do with basic SingleCellExperiment
data handling. You can subset markers (rows) the same way as for any array-like object, e.g., data.frame
or matrix
, i.e., via sce[..., ]
where ...
is a logical, integer or character vector specifying which rows to keep. Please consult SingleCellExperiment
and/or SummarizedExperiment
's documentation to familiarize yourself with basic data handling for these classes.
Hi there,
Thank you for the package.
I had performed clustering and dimensionality reduction on my
sce
object and now proceed with differential expression analysis.Would you mind advising me how to delete certain channel/markers (i.e., rows of the
rowData
) from mysce
object withCATALYST::filterSCE
?The reason is otherwise some rows within
rowData(sce)
are actually not true markers but rather just some metadata I added previously, and if I don't remove them, they will be considered as markers in the differential testing.I tried, but not sure if there is other ways to do it.
Thank you.