Description Usage Arguments Value Examples
Visualize the beta value in heatmaps for a given gene. The function takes a gene name which is taken from the UCSC refGene. It searches all the transcripts for the given gene and optionally extend the span by certain number of base pairs. The function also takes a beta value matrix with sample names on the columns and probe names on the rows. The function can also work on different genome builds (default to hg38, can be hg19).
1 2 3 4 5 6 7 8 9 | visualizeGene(
geneName,
betas,
platform = c("EPIC", "HM450"),
upstream = 2000,
dwstream = 2000,
refversion = c("hg38", "hg19"),
...
)
|
geneName |
gene name |
betas |
beta value matrix (row: probes, column: samples) |
platform |
HM450 or EPIC (default) |
upstream |
distance to extend upstream |
dwstream |
distance to extend downstream |
refversion |
hg19 or hg38 (default) |
... |
additional options, see visualizeRegion |
None
1 2 | betas <- sesameDataGet('HM450.76.TCGA.matched')$betas
visualizeGene('ADA', betas, 'HM450')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.