rrmixcor: Use Random main effect and Random compound-specific error...

Description Usage Arguments Details Value See Also Examples

View source: R/batch.R

Description

Use Random main effect and Random compound-specific error variance with a mixture structure(RRmix) to correct the unknown batch effects

Usage

1

Arguments

data

data as mzrt profile

lv

factor vector for the group infomation

Details

Use Random main effect and Random compound-specific error variance with a mixture structure(RRmix) to correct the unknown batch effects

Value

list object with various components such raw data, posterior probability.

See Also

isvacor,svacor, limmafit,pcacor

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(faahKO)
cdfpath <- system.file('cdf', package = 'faahKO')
cdffiles <- list.files(cdfpath, recursive = TRUE, full.names = TRUE)
list <- getmr(cdfpath, pmethod = ' ')
li <- rrmixcor(list$data,list$group$class)

## End(Not run)

yufree/xsetplus documentation built on Nov. 11, 2019, 4:22 p.m.