cpg.combine | R Documentation |
"cpg"
Takes a list containing objects of class "cpg"
and combines them into one cpg item. Assumes that there are no repeated CpG sites between the various objects (i.e. analysis wasn't performed on the same sites twice).
cpg.combine(allvalues, fdr.method="BH",fdr.cutoff=.05,return.data=FALSE)
allvalues |
A list containing the |
fdr.method |
FDR method that user wants to use. For options see the |
fdr.cutoff |
The desired FDR threshold. The default setting is .05. The set of CpG sites with FDR < fdr.cutoff will be labeled as significant. |
return.data |
Logical. cpg.assoc can return dataframes containing the the variable of interest, covariates, and the chip id (if present). Defaults to FALSE. Set to TRUE if plan on using the downstream scaterrplot functions). |
info.data |
An object of class |
This is designed to be used by cpg.assoc
when it does analysis on large data sets or by the user if they split up the analysis by chromosome or some other such partition.
Barfield, R.; Kilaru,V.; Conneely, K.
Maintainer: R. Barfield: <barfieldrichard8@gmail.com>
cpg.assoc
cpg.perm
cpg.work
plot.cpg
scatterplot
manhattan
plot.cpg.perm
data(samplecpg,samplepheno,package="CpGassoc")
test1<-cpg.assoc(samplecpg[1:100,],samplepheno$weight,large.data=FALSE)
test2<-cpg.assoc(samplecpg[101:200,],samplepheno$weight,large.data=FALSE)
bigtest<-list(test1,test2)
overall<-cpg.combine(bigtest)
overall
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.