View source: R/AnnotateWithTCGA.R
AnnotateWithTCGA | R Documentation |
Add TCGA mutation prevalence within a cohort data to the metadata of a genotype object.
AnnotateWithTCGA(genotype, tcga)
genotype |
A genotype object |
tcga |
A data frame that must contain "gene_ensembl_id" and "tcga_percent" columns (character and numeric respectively). |
See also ReadTCGA and https://portal.gdc.cancer.gov/exploration?searchTableTab=genes
A data frame with at least gene_ensembl_id, cases_in_cohort and tcga_percent columns.
MyGenotypes <- ReadVcf("MyGenotypes.vcf.gz")
MyTCGA <- ReadTCGA("MyTCGAmutations.tsv")
MyGenotypes <- AnnotateWithTCGA(MyGenotypes,MyTCGA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.