View source: R/Chromatin_enrichment.R
Chromatin_enrichment | R Documentation |
Get enrichment with Chromatin States Database (chrom15). This function gets Chromatin states and creates a field meth_level for hypo and Hypermethylation states if beta field is found, if not, only enrichment is performed.
Chromatin_enrichment(
data,
out,
filename,
cpgcol,
bn = FALSE,
fdr = NA,
pval = NA,
all = FALSE
)
data |
array or dataframe with CpGs to perform enrichment. If not beta field found then hypo and hypermethylation field is added |
out |
string, Path where the results should be saved |
filename |
string, File name where the results should be saved, to this name the suffix is added depending on data to enrich
|
cpgcol |
numeric or string. Column index or column name with CpGs id |
bn |
boolean. optional. If data is a dataframe with bonferroni adjustment, makes enrichment with CpGs that pass Bonferroni |
fdr |
numeric optiona. If data is a dataframe with FDR adjustment and fdr!=NA or NULL, makes enrichment with CpGs with fdr lower than indicated value |
pval |
numeric optional. If data is a dataframe with p-value and pval!=NA or NULL, makes enrichment with CpGs with pval lower than indicated value |
all |
boolean, optional. enrich all CpGs |
A list with resulth enriched data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.