Visualize Single Gene Univariable Cox Result from Toil Data Hub
vis_unicox_tree(
Gene = "TP53",
measure = "OS",
data_type = "mRNA",
threshold = 0.5,
values = c("grey", "#E31A1C", "#377DB8"),
opt_pancan = .opt_pancan
)
a ggplot
object
a molecular identifier (e.g., "TP53") or a formula specifying
genomic signature ("TP53 + 2 * KRAS - 1.3 * PTEN"
).
a survival measure, e.g. "OS".
choose gene profile type, including "mRNA","transcript","methylation","miRNA","protein","cnv"
a expression cutoff, 0.5
for median.
the color to fill tumor or normal
specify one dataset for some molercular profiles
if (FALSE) {
p <- vis_unicox_tree(Gene = "TP53")
}
Run the code above in your browser using DataLab