celltype_mean_expression {BUSseq}R Documentation

Obtain the Cell-Type-Specific Mean Expression Levels from the Output of the BUSseq_MCMC Function

Description

The function gives the estimated cell-type-specific mean expression levels in the output SingleCellExperiment object.

Usage

  celltype_mean_expression(sce_BUSseqfit)

Arguments

sce_BUSseqfit

An output SingleCellExperiment object by the function BUSseq_MCMC.

Value

mu.est

The estimated cell-type-specific mean expression levels, a G by K matrix, whose [g,k] element is the mean expression levels of cell type k on gene g.

Author(s)

Fangda Song

References

Song, Fangda, Ga Ming Angus Chan, and Yingying Wei. Flexible experimental designs for valid single-cell RNA-sequencing experiments allowing batch effects correction. Nature communications 11, no. 1 (2020): 1-15.

Examples

# "BUSseqfits_example" is an example output
BUSseqfits_example
mu.est <- celltype_mean_expression(BUSseqfits_example)

[Package BUSseq version 1.0.0 Index]