visualizeGene | R Documentation |
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).
visualizeGene(
gene_name,
betas,
platform = NULL,
genome = NULL,
upstream = 2000,
dwstream = 2000,
...
)
gene_name |
gene name |
betas |
beta value matrix (row: probes, column: samples) |
platform |
HM450, EPIC, or MM285 (default) |
genome |
hg19, hg38, or mm10 (default) |
upstream |
distance to extend upstream |
dwstream |
distance to extend downstream |
... |
additional options, see visualizeRegion, assemble_plots |
None
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.