summaryAllelicRatio | R Documentation |
Oroduce allelic ratio summaries for each gene cluster
summaryAllelicRatio(sce, genecluster)
sce |
SingleCellExperiment |
genecluster |
an optional vector of gene cluster IDs. if nothing is given, all cluster's summaries will be calculated |
a list of gene cluster summary tables containing:
weighted.mean weighted mean of allelic ratio for the cell types
mean mean allelic ratio for the cell types
var variance of allelic ratio for the cell types
library(S4Vectors) sce <- makeSimulatedData() sce <- preprocess(sce) sce <- geneCluster(sce, G = 1:4) summary <- summaryAllelicRatio(sce, genecluster = c(1, 3)) summary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.