cell_effect_values {BUSseq}R Documentation

Obtain the cell-specific size effects from the Output of the BUSseq_MCMC Function

Description

The function gives the estimated cell-specific size effects in the output SingleCellExperiment object.

Usage

cell_effect_values(sce_BUSseqfit)

Arguments

sce_BUSseqfit

An output SingleCellExperiment object obtained from the function BUSseq_MCMC.

Value

delta.est

The estimated cell-specific global effects, an N-dimensional vector. Note that the first element in each vector is zero as the first cell in each batch is taken as the reference cell.

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
delta.est <- cell_effect_values(BUSseqfits_example)

[Package BUSseq version 0.99.18 Index]