champ.reffree: Applying RefFreeEWAS Methold to beta valued methylation data.

Description Usage Arguments Value Author(s) References Examples

Description

Applying RefFreeEWAS method to beta valued methylation data. This method does not rely on puritied cell reference, thus can be easily used on tissue data set, while RefbaseEWAS can only be used to whole blood samples. Reference-free method for conducting EWAS while deconvoluting DNA methylation arising as mixtures of cell types. This method is similar to surrogate variable analysis (SVA and ISVA), except that it makes additional use of a biological mixture assumption. Returns mixture-adjusted Beta and unadjusted Bstar, as well as estimates of various latent quantities.

Usage

1
2
3
4
    champ.reffree(beta=myNorm,
                  pheno=myLoad$pd$Sample_Group,
                  K=NULL,
                  nboot=50)

Arguments

beta

Methylation beta valueed dataset user want to do RefFreeEWAS. (default = myNorm)

pheno

Phenotype user want to find differential methylation result. This parameter MUST be a vecter or a matrix. Though Characters are allowed because inside the function, character covariates will be transformed into numeric, we still recommend user input numeric deigned covariates matrix or vector.(default = myLoad$pd$Sample_Group)

K

Number of latent variable. If this value was ignored, function will use Random Matrix Theory from isva pacakge to estimate latent variables. (default = NULL)

nboot

Number for Bootstrap on result of RefFreeEWAS. (default=50)

Value

RefFreeEWASModel

RefFreeEWASModel S4 Object from RefFreeEWAS pacakge, contains adjusted beta value and unadjusted beta value (Bstar).

pvBeta

p value of each covariates, calculated from cell type mixture corrected Beta value.

qvBeta

q value of each covariates, calculated from cell type mixture corrected Beta value.

Author(s)

Houseman EA, Yuan Tian, Andrew Teschendorff

References

Houseman EA, Kile ML, et al., Reference-free deconvolution of DNA methylation data and mediation by cell composition effects (2016). http://biorxiv.org/content/early/2016/01/23/037671.

Examples

1
2
3
4
5
6
    ## Not run: 
        myLoad <- champ.load(directory=system.file("extdata",package="ChAMPdata"))	
        myNorm <- champ.norm()
        myRefFree <- champ.reffree()
    
## End(Not run)

JoshuaTian/MyChAMP documentation built on May 7, 2019, 12:04 p.m.