plot_surv_gene: Plot survival curve for single gene

Description Usage Arguments Value Examples

View source: R/plot_surv_gene.R

Description

Plot survival curve for single gene

Usage

1
plot_surv_gene(symbol, anno, count, surv, path)

Arguments

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

Value

summary statistics and plot

Examples

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, "./")

alexyfyf/TCGA_workflow documentation built on March 19, 2020, 2:28 a.m.