View source: R/BASiCS_CorrectOffset.R
BASiCS_CorrectOffset | R Documentation |
Remove global offset in mean expression between two
BASiCS_Chain
objects.
BASiCS_CorrectOffset(Chain, ChainRef, min.mean = 1)
Chain |
a 'BASiCS_MCMC' object to which the offset correction should be applied (with respect to 'ChainRef'). |
ChainRef |
a 'BASiCS_MCMC' object to be used as the reference in the offset correction procedure. |
min.mean |
Minimum mean expression threshold required for inclusion in offset calculation. Similar to 'min.mean' in 'scran::computeSumFactors'. |
A list whose first element is an offset corrected version of 'Chain' (using 'ChainRef' as a reference), whose second element is the point estimate for the offset and whose third element contains iteration-specific offsets.
Catalina A. Vallejos cnvallej@uc.cl
Nils Eling eling@ebi.ac.uk
Alan O'Callaghan
# Loading two 'BASiCS_Chain' objects (obtained using 'BASiCS_MCMC')
data(ChainSC)
data(ChainRNA)
A <- BASiCS_CorrectOffset(ChainSC, ChainRNA)
# Offset corrected versions for ChainSC (with respect to ChainRNA).
A$Chain
A$Offset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.