limmafit: LIMMA to test batch effects by p-value and q-value

Description Usage Arguments Value See Also Examples

View source: R/batch.R

Description

LIMMA to test batch effects by p-value and q-value

Usage

1
limmafit(data, lv, batch = NULL)

Arguments

data

data as mzrt profile

lv

vector for the group information

batch

vector for the batch information

Value

list object with raw data, corrected data, signal part, batch part, random errors part, p-values, q-values. If no batch index, corresponding part would miss.

See Also

isvacor,svacor, pcacor,famtcor

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 <- limmafit(list$data,list$group$class)

## End(Not run)

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