rmRNAseq (version 0.1.0)

TimeMin: Identify Time Points Mapping to 0 and 1

Description

This function is to identify which time points mapped to 0 and 1 based on the estimated correlations of observations between all pairs of time points. The correlation parameters are estimateed by fitting voomgls_Symm to the voom transformed data.

Usage

TimeMin(v, Subject, Time, ncores)

Arguments

v

output of voom function.

Subject

a vector of subjects or experimental units.

Time

a vector of time points.

ncores

number of cores for embarrassingly parallel procedure. Default value of ncores is 1.

Value

a vector of 2 components correspinding to the two time points that are mapping to 0, 1, respectively.

Examples

Run this code
# NOT RUN {
data(res)
data(covset)
v <- res$ori.res$v
v$E <- v$E[1:2,]
v$weights <- v$weights[1:2,]
Subject <- covset$ear
Time <- covset$time
ncores <- 1
TimeMinout <- rmRNAseq:::TimeMin(v, Subject, Time, ncores)
TimeMinout
# }

Run the code above in your browser using DataLab