Generate scatter plots for one probes’ nearby 20 gene expression vs DNA methylation at this probe.
Each scatter plot shows the methylation level of an example probe cg19403323 in all LUSC samples plotted against the expression of one of 20 adjacent genes.
scatter.plot(data = mae,
byProbe = list(probe = c("cg19403323"), numFlankingGenes = 20),
category = "definition",
lm = TRUE, # Draw linear regression curve
save = FALSE)
Generate a scatter plot for one probe-gene pair. Figure
Scatter plot shows the methylation level of an example probe cg19403323 in all LUSC samples plotted against the expression of the putative target gene SYT14.
scatter.plot(data = mae,
byPair = list(probe = c("cg19403323"), gene = c("ENSG00000143469")),
category = "definition", save = TRUE, lm_line = TRUE)
Generate scatter plot for TF expression vs average DNA methylation of the sites with certain motif.
Each scatter plot shows the average methylation level of sites with the TP53 motif in all LUSC samples plotted against the expression of the transcription factor TP53, TP63, TP73 respectively.
## [1] "HXA9_HUMAN.H11MO.0.B"
scatter.plot(data = mae,
byTF = list(TF = c("TP53","SOX2"),
probe = enriched.motif[[names(enriched.motif)[1]]]),
category = "definition",
save = TRUE,
lm_line = TRUE)