celltypes {BUSseq}R Documentation

Obtain the Cell-type Indicators from the Output of the BUSseq_MCMC Function

Description

The function gives the cell-type indicators of the output SingleCellExperiment object.

Usage

celltypes(sce_BUSseqfit)

Arguments

sce_BUSseqfit

An output SingleCellExperiment object by the function BUSseq_MCMC.

Value

w.est

The estimated cell-type indicators, an N-dimensional vector, where N is the total number of cells.

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
celltypes_est <- celltypes(BUSseqfits_example)

[Package BUSseq version 1.0.0 Index]