raw_read_counts {BUSseq}R Documentation

Obtain the Raw Read Count Matrix from the Output of the BUSseq_MCMC Function

Description

The function gives the original read count matrix. This function is actually equivalent to assay(sce_BUSseqfit, "counts").

Usage

  raw_read_counts(sce_BUSseqfit)

Arguments

sce_BUSseqfit

An output SingleCellExperiment object obtained from the function BUSseq_MCMC.

Value

CountData_raw

The raw read counts, a matrix with each row for a gene and each column for a 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
library(SingleCellExperiment)
BUSseqfits_example
Example_CountData_raw <- raw_read_counts(BUSseqfits_example)

[Package BUSseq version 1.0.0 Index]