Description Usage Arguments Details Value
View source: R/computeRaptor.R
This function will score the likelihood of patient response to immune checkpoint blockade based on 4 different pipelines. 1. RAPTOR - based on a set of immune genes 2. COXIS - based on a 25-gene set defined by Bonavtia et al., in review 3. TIS - based on an 18 gene signature from Ayers et al., JCI, 2017 4. Random - a random set of genes to which identical steps were applied as for the other pipelines
1 | compute_risk_score(expr, coefs, predictor_name, constant)
|
expr |
a data frame of gene expression data with genes as column names and samples as rownames. Ideally expression will be in log2(TPM+1) format. The data frame should also include columns for the MSKCC prognostic score if the data is from renal cancer patients (column name = "mskcc"). |
coefs |
a named numeric vector of gene weights. |
predictor_name |
the name of the probability of response score estimator, for example "RAPTOR" |
constant |
a constant to add to the scores. We will use the minimum value of the sum of the weighted gene expressions in the training data multiplied by -1 if less than 0. |
If more than 50
data.frame with sample ID and column as predictor score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.