Calculate The Gene Drug Sensitivity
Source:R/geneDrugSensitivityPCorr.R
geneDrugSensitivityPCorr.RdThis version of the function uses a partial correlation instead of standardized linear models.
Arguments
- x
A
numericvector of gene expression values- type
A
vectorof factors specifying the cell lines or type types- batch
A
vectorof factors specifying the batch- drugpheno
A
numericvector of drug sensitivity values (e.g., IC50 or AUC)- test
A
characterstring indicating whether resampling or analytic based tests should be used- req_alpha
numeric, number of permutations for p value calculation- nBoot
numeric, number of bootstrap resamplings for confidence interval estimation- conf.level
numeric, between 0 and 1. Size of the confidence interval required- max_perm
numericthe maximum number of permutations that QUICKSTOP can do before giving up and returning NA. Can be set globally by setting the option "PharmacoGx_Max_Perm", or left at the default ofceiling(1/req_alpha*100).- verbose
booleanShould the function display messages?
Value
A vector reporting the effect size (estimateof the coefficient
of drug concentration), standard error (se), sample size (n), t statistic,
and F statistics and its corresponding p-value.
Examples
print("TODO::")
#> [1] "TODO::"