geneCluster | R Documentation |
Gene clustering based on allelic ratio matrix with pseudo-count
geneCluster( sce, G, method = c("GMM", "hierarchical"), minClusterSize = 3, plot = TRUE, ... )
sce |
SingleCellExperiment containing assays |
G |
An integer vector specifying the numbers of clusters for which the BIC is to be calculated. The default is G=c(8, 12, 16, 20, 24). |
method |
the method to do gene clustering. The default is the Gaussian
Mixture Modeling which
is likely to be more accurate. |
minClusterSize |
Minimum cluster size of |
plot |
logical, whether to make a PCA plot |
... |
Catches unused arguments in indirect or list calls via do.call
as described in |
gene cluster IDs are stored in the rowData column cluster
and a table of gene cluster is returned in metadata geneCluster
This function leverages Mclust from the mclust package, or hclust.
For mclust see: Luca Scrucca and Michael Fop and T. Brendan Murphy, Adrian E. Raftery "mclust 5: clustering, classification and density estimation using Gaussian finite mixture models" 2016. The R Journal. doi: 10.32614/RJ-2016-021
Mclust
sce <- makeSimulatedData() sce <- preprocess(sce) sce <- geneCluster(sce, G = seq_len(4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.