BASiCS_DenoisedCounts {BASiCS} | R Documentation |
Calculates denoised expression counts by removing cell-specific technical variation. The latter includes global-scaling normalisation and therefore no further normalisation is required.
BASiCS_DenoisedCounts(Data, Chain)
Data |
an object of class |
Chain |
an object of class |
See vignette
A matrix of denoised expression counts. In line with global scaling normalisation strategies, these are defined as X_{ij}/(φ_j ν_j) for biological genes and X_{ij}/(ν_j) for spike-in genes. For this calculation φ_j ν_j are estimated by their corresponding posterior medians. If spike-ins are not used, φ_j is set equal to 1.
Catalina A. Vallejos cnvallej@uc.cl
Nils Eling eling@ebi.ac.uk
Data <- makeExampleBASiCS_Data(WithSpikes = TRUE) Chain <- BASiCS_MCMC(Data, N = 10000, Thin = 10, Burn = 5000, Regression = FALSE, PrintProgress = FALSE) DC <- BASiCS_DenoisedCounts(Data, Chain)