Description Usage Arguments Value Examples
Turn beta values into a UCSC browser track
1 | createUCSCtrack(betas, output = NULL, platform = "HM450", refversion = "hg38")
|
betas |
a named numeric vector |
output |
output file name |
platform |
HM450, EPIC etc. |
refversion |
hg38, hg19 etc. |
when output is null, return a data.frame, otherwise NULL
1 2 3 4 5 6 7 | betas.tissue <- sesameDataGet('HM450.1.TCGA.PAAD')$betas
## add output to create an actual file
df <- createUCSCtrack(betas.tissue)
## to convert to bigBed
## sort -k1,1 -k2,2n output.bed >output_sorted.bed
## bedToBigBed output_sorted.bed hg38.chrom output.bb
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.