View source: R/Seurat.Utils.Visualization.R
ww.check.quantile.cutoff.and.clip.outliers | R Documentation |
Checks a specified quantile cutoff and clips outliers from an expression vector, ensuring that a minimum number of cells expressing a gene remain.
ww.check.quantile.cutoff.and.clip.outliers(
expr.vec = plotting.data[, gene],
quantileCutoffX = quantileCutoff,
min.cells.expressing = 10
)
expr.vec |
A numeric vector representing gene expression data. |
quantileCutoffX |
The quantile cutoff for clipping outliers. |
min.cells.expressing |
The minimum number of cells that should remain expressing after clipping. |
The expression vector with outliers clipped, ensuring the minimum number of cells expressing.
## Not run:
expr.vec <- c(...)
quantileCutoff <- 0.99
min.cells.expressing <- 10
ww.check.quantile.cutoff.and.clip.outliers(expr.vec, quantileCutoff, min.cells.expressing)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.