View source: R/TFsurvival.plot.R
This function will create a survival plot for the samples with higher, midium, low expression of a given transcription factor. By defau;t samples with higher expression are the top 30
1 |
data |
A multi assay Experiment with clinical data in the phenotypic data matrix containing the following columns: vital_status, days_to_last_follow_up and days_to_death. Default from GDC and TCGAbiolinks |
TF |
A gene symbol |
xlim |
Limit x axis showed in plot |
percentage |
A number ranges from 0 to 1 specifying the percentage of samples in the higher and lower expression groups. Default is 0.3 |
save |
Save plot as PDF |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.