Usage
export_data (tested,regions,th=0.05,annotate.relevant=FALSE,annotate.significant=TRUE,FigsNotRelevant=FALSE, min_n=4,min_dM=1.4,min_distance=200,margin=10000,clr=NA,method="fdr", experiment.name,debug=FALSE)
Arguments
th
p-value threshold for a DMR to be included as significant. (default=0.05; after correction for multiple testing)
annotate.relevant
By default annotations are only looked up for regions showing significant differential methylation patterns. Setting this parameter to TRUE will query Ensembl for the annotation info of each of the relevant (but not significant) regions as well. Please note that the database queries are slow and Ensembl might not accept an unlimited number of requests. (default=FALSE)
annotate.significant
By default annotations are only looked up for regions showing significant differential methylation patterns. Setting this parameter to FALSE will disable this feature (relevant on machines without an internet connection)(default=TRUE)
FigsNotRelevant
If TRUE, export_data() also exports figures (no annotation) for regions that do not show a relevant median difference in M value. Note that this will result in an extremely high number of files in the figures directory. (default=FALSE)
margin
Margin in bp outside of each region that is queried in Ensembl and subsequently plotted). (default=10kb)
clr
Defines the colors to be used when plotting the different samples. If NA, colors are picked from the rainbow pallet. (default= NA)
experiment.name
String. Is used to create a folder to export the results.