Description Usage Arguments Value Examples
Visualize the beta value in heatmaps for the genomic region containing specified probes. The function works only if specified probes can be spanned by a single genomic region. The region can cover more probes than specified. Hence the plotting heatmap may encompass more probes. The function takes as input a string vector of probe IDs (cg/ch/rs-numbers). if draw is FALSE, the function returns the subset beta value matrix otherwise it returns the grid graphics object.
1 2 3 4 5 6 7 8 9 | visualizeProbes(
probeNames,
betas,
platform = c("EPIC", "HM450"),
refversion = c("hg38", "hg19"),
upstream = 1000,
dwstream = 1000,
...
)
|
probeNames |
probe names |
betas |
beta value matrix (row: probes, column: samples) |
platform |
HM450 or EPIC (default) |
refversion |
hg19 or hg38 (default) |
upstream |
distance to extend upstream |
dwstream |
distance to extend downstream |
... |
additional options, see visualizeRegion |
None
1 2 | betas <- sesameDataGet('HM450.76.TCGA.matched')$betas
visualizeProbes(c('cg22316575', 'cg16084772', 'cg20622019'), betas, 'HM450')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.