View source: R/Seurat.Utils.Visualization.R
scBarplot.FractionBelowThr | R Documentation |
Generates a bar plot to visualize the percentage of cells within each cluster that
fall below a specified threshold, according to a metadata column value.
Inherits all parameters from scBarplot.FractionAboveThr
with the exception that above
is set to FALSE.
scBarplot.FractionBelowThr(
thrX = 0.2,
value.col = "percent.ribo",
id.col = "cl.names.top.gene.res.0.3",
obj = combined.obj,
return.df = FALSE,
subtitle = id.col,
suffix = NULL,
...
)
thrX |
Threshold value for assessing cell counts. Default: 0.01. |
value.col |
Metadata column with values for threshold comparison. Default: 'percent.ribo'. |
id.col |
Cluster identifier in metadata. Default: 'cl.names.top.gene.res.0.3'. |
obj |
Seurat object with cell data. Default: |
return.df |
If TRUE, returns the data frame instead of the plot. Default: |
scBarplot.FractionAboveThr
select
, group_by
## Not run:
scBarplot.FractionBelowThr(id.col = "cl.names.top.gene.res.0.3", value.col = "percent.ribo", thrX = 0.01)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.