ChAMP_QC_Pipeline_Frome_Beta_Value | R Documentation |
ChAMP QC Pipeline for beta matrix
ChAMP_QC_Pipeline_Frome_Beta_Value(
Sample.beta.df = NULL,
Sample.Group = "",
Slide = "",
arraytype = c("450K", "EPIC"),
CpG.GUI = FALSE,
QC.GUI = FALSE,
combat = FALSE,
batchname = c("Slide"),
cores = 50
)
Sample.beta.df |
Column is sample |
arraytype |
450K or EPIC |
CpG.GUI |
If use CpG.GUI |
combat |
If perform combat to remove batch effect |
batchname |
Batch variable name. Default is c("Slide") |
cores |
library(ChAMP)
testDir=system.file("extdata",package="ChAMPdata")
myImport <- champ.import(testDir)
beta.df = myImport$beta
group = myImport$pd$Sample_Group
########### Step 1
res = loonR::ChAMP_QC_Pipeline_Frome_Beta_Value(Sample.beta.df=beta.df, Sample.Group=group)
myLoad = res$myLoad
########### Step 2
res = res$followAnalysisImputeQCNormCombat(arraytype="450K")
head(res$myNorm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.