Description Usage Arguments Details Value Author(s) See Also Examples
Complete export of the DMRforPairs results. Export includes pdf's, thumbnails and TSV files describing the methylation status of all relevant (median delta M > dM_min) regions. M and beta values plotted against genomic position. Plots are generated for all samples and sample pairs (if n>2). Annotation information can be automatically looked up in the Ensembl database. If this is requested, integrated figures of the methylation pattern are generated including all transcripts annotated to the region of interest (+margin). This function also generates overviews (tables) in tsv and HTML format with information about the regions and their methylation status in the samples. This is done separately for all regions, regions with a relevant difference and regions with a significant difference.
1 |
tested |
output of |
regions |
output of |
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) |
min_n |
see |
min_dM |
see |
min_distance |
see |
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) |
method |
see |
experiment.name |
String. Is used to create a folder to export the results. |
debug |
see |
In the output is organized according to all, relevant and significant regions:
all: all regions identified by DMRforPairs
relevant: regions identified by DMRforPairs with a median difference in M values between any pair of samples of > min_dM
significant: relevant + Kruskall Wallis test shows a significant result (<th)
Writing permissions are required in the working directory when using the export and visualization functions of DMRforPairs. Internet access is required to use the annotation features.
By default, DMRforPairs creates a folder (experiment.name) within the current working directory in which the output is stored. This is done within the export_data
wrapper which should be run before any other (specific) analysis are performed (exploration phase, see DMRforPairs-package
. A complete export generates a large number of files which are stored out of sight (experiment.name/figures). Figures and overviews of statistics are most conveniently accessed through the HTML tables.
The output is comparable to that of testregion
, supplemented with external links (Ensembl, UCSC) and annotation info if requested.
Martin Rijlaarsdam, m.a.rijlaarsdam@gmail.com
DMRforPairs
,
regionfinder
,
testregion
,
plot_annotate_region
,
plot_annotate_probes
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #For the this step, pleas ensure that you have writing
#permissions in your working directory. If any of the
#annotate parameters is set to TRUE, an internet connection
#is required.
data(DMRforPairs_data)
experiment="example_DMRforPairs"
#Export the results from output using the default settings;
#annotation is disabled as to prevent problems on (build)
#systems without an internet connection. A folder
#"example_DMRforPairs" containing the resuls is created in
#your working directory.
tested_inclannot=export_data(tested=example_output_DMRforPairs$tested,
regions=example_output_DMRforPairs$regions,
experiment.name=experiment,
annotate.significant=FALSE,
annotate.relevant=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.