celltype_effects {BUSseq} | R Documentation |
BUSseq_MCMC
Function
The function gives the estimated cell-type effects in the output
SingleCellExperiment
object.
celltype_effects(sce_BUSseqfit)
sce_BUSseqfit |
An output |
beta.est |
The estimated cell-type effects, a G by K matrix, whose [g,k] element is the effects of cell type k on gene g compared with the first cell type. Note that the first column is zero as the first cell type is taken as the baseline cell type. |
Fangda Song
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.
# "BUSseqfits_example" is an example output BUSseqfits_example beta.est <- celltype_effects(BUSseqfits_example)