
Last chance! 50% off unlimited learning
Sale ends in
getMeanVariance(sampleFiles, outFile, log=NULL, type=NULL, verbose=NULL, norm=NULL, pretend=FALSE)
sample
,sqDif
for sample variance or squared difference.getMeanVariance
function computes means and variances of MCMC expression samples.
These can be computed either from single file or from multiple files using sample variance.
Variance of two experiments (i.e. technical or biological replicates) can be estimated also by using sqDif
option for type
which specify the computation of the average square distance between the samples from two sets.
estimateExpression
setwd(system.file("extdata",package="BitSeq"));
sampleFileNames = c("data-c1b0.rpkm","data-c1b1.rpkm")
getMeanVariance(sampleFiles=sampleFileNames, outFile="data-c1.Lmean", log=1,
norm=c(1.0017, 0.9998))
Run the code above in your browser using DataLab