Description Usage Arguments Details Value See Also Examples
View source: R/evaluate_ident.R
Evaluate the cell identities that were determined from k-means clustering
1 2 3 4 5 |
object |
Seurat object |
prob.use |
Probabilities saved to object@meta.data["ident_prob"]; To be used in downstream analysis by default |
p.adjust.methods |
A p-value correction method for multiple comparisons |
genes.use |
Genes to use for clustering |
reduction.type |
Name of dimensional reduction technique (e.g. "pca", "ica") |
dims.use |
A vector of the dimensions to use (e.g. To use the first 10 PCs, pass 1:10) |
center |
Center the cells |
data.cut |
Clip all z-scores to have an absolute value below this. Reduces the effect of huge outliers in the data. (default is NULL) |
minibatch |
FALSE by default. If TRUE, use the mini-batch K-means clustering implemented in the ClusterR package. |
assay.type |
Type of assay to fetch data for (default is RNA) |
do.plot |
Draw histograms of statistics (default is FALSE) |
seed |
Random seed |
verbose |
Print the computational progress. TRUE, by default. |
return.jackstraw |
FALSE by default. If TRUE, return a list of jackstraw-related statistics, instead of a Seurat object, |
... |
Additional parameters passed to jackstraw.kmeans |
Use data.cut to trim outliers, as done in DoKMeans2.
Ensure that these parameters are identical to the original clustering step.
Seurat object where the unsupervised evaluation for cell identities is stored in
object@ident_prob. Furthermore, chosen probabilities (PIP, adjusted p-values, or etc) are
stored in object@meta.data["ident_prob"]. See the optional argument prob.use.
DoKMeans2
1 2 3 4 5 6 7 | ## Not run:
set.seed(1234)
require(Seurat)
pbmc_small <- DoKMeans2(pbmc_small, k.cells = 3)
pbmc_small2 <- EvaluateIdentKmeans(pbmc_small)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.