summaryAllelicRatio: Allelic ratio summary

View source: R/summary.R

summaryAllelicRatioR Documentation

Allelic ratio summary

Description

Oroduce allelic ratio summaries for each gene cluster

Usage

summaryAllelicRatio(sce, genecluster)

Arguments

sce

SingleCellExperiment

genecluster

an optional vector of gene cluster IDs. if nothing is given, all cluster's summaries will be calculated

Value

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

Examples


library(S4Vectors)
sce <- makeSimulatedData()
sce <- preprocess(sce)
sce <- geneCluster(sce, G = 1:4)
summary <- summaryAllelicRatio(sce, genecluster = c(1, 3))
summary

Wancen/airpart documentation built on March 12, 2023, 11:53 a.m.