Description Usage Arguments Value See Also Examples
View source: R/imsig_survival.R
Patients are split into two groups based on their immune cell abundance (median aundance value) and a regular survival analyis is carried out.
1 | imsig_survival(exp, cli, time = "time", status = "status", r = 0.6)
|
exp |
Dataframe of transcriptomic data (natural scale) containing genes as rows and samples as columns. Note: Gene names should be set as row names and duplicates are not allowed. Missing values are not allowed within the expression matrix. Check example- head(example_data): |
cli |
Clinical metadata containting the event data (dead or alive) and time to event data. Samples names should be in rownames and same as that in the expression file. Check head() of |
time |
Column name of time-to-event parameter. |
status |
Column name of event (dead or alive) parameter. |
r |
Use a value between 0 and 1. Default is 0.6. This is a user defined correlation cut-off to perform feature selection ( |
Hazard Ratio
feature_select
, example_data
, example_cli
1 2 | survival = imsig_survival (exp = example_data, cli = example_cli)
head(survival)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.