Description Usage Arguments Value Examples
View source: R/plot_surv_gene.R
Plot survival curve for single gene
1 | plot_surv_gene(symbol, anno, count, surv, path)
|
symbol |
Character, gene symbol, character |
anno |
Dataframe, gene annotation file, output from TCGAbiolinks |
count |
Matrix, gene count matrix, output from TCGAbiolinks |
surv |
Dataframe, survival data |
path |
Character, path to plot |
summary statistics and plot
1 2 3 4 | chol <- data_download("TCGA-CHOL", datatype="RNA-seq")
x <- chol$x
survinfo <- chol$surv
plot_surv_gene("TET2", x$genes, x$counts, survinfo, "./")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.