View source: R/gruffi.optional.R
FilterStressedCells | R Documentation |
Identifies and filters stressed cells based on specified GO terms and a quantile threshold. It supports optional plotting of exclusion results and saving of modified datasets.
FilterStressedCells(
obj = combined.obj,
res = "integrated_snn_res.30",
quantile.thr = 0.9,
GOterms = c(`glycolytic process` = "GO:0006096",
`response to endoplasmic reticulum stress` = "GO:0034976"),
direction = "above",
saveRDS = TRUE,
saveRDS.Removed = FALSE,
PlotExclusionByEachScore = TRUE,
PlotSingleCellExclusion = TRUE,
GranuleExclusionScatterPlot = TRUE
)
obj |
Seurat single cell object, Default: combined.obj |
res |
Clustering resolution, Default: 'integrated_snn_res.30' |
quantile.thr |
Quantile threshold to cutoff stressed cells, Default: 0.9 |
GOterms |
GO-terms to use for filtering, Default: c( |
direction |
filtering direction, above or below, Default: 'above' |
saveRDS |
Logical indicating if the filtered object should be saved as an RDS file, default is TRUE. |
saveRDS.Removed |
Logical indicating if a separate RDS file for removed cells should be saved, default is FALSE. |
PlotExclusionByEachScore |
Logical for plotting exclusion results by each score, default is TRUE. |
PlotSingleCellExclusion |
Logical for plotting single cell exclusion results, default is TRUE. |
GranuleExclusionScatterPlot |
Logical for plotting a scatter plot of granule exclusion, default is TRUE. |
iprint
, percentage_formatter
calc.cluster.averages
filter_HP
, llprint
reexports
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.