Runs pKSEA analysis on a dataset result from get_matched_data.
Runs pKSEA analysis on a dataset result from get_matched_data.
Calculates score contributions from summary statistics (tscore) and prediction scores, and sums contribution scores by kinase to calculate raw kinase activity change scores (KAC scores). Performs permutation test on summary statistic data to assess significance of kinase activity change scores, and reports significance as a percentile score (pKSEA significance score).
matched_data: data after filtering against predictions (results from get_matched_data())
n_permutations: number of mutations to perform (default 1000)
seed: seed used for permutation testing
kin_ens_table: optional table for inclusion of matched ensembl ids for kinases, with columns: ens = ensembl id, kinases = kinase_id as otherwise used
Examples
#Read in example summary statistics dataset from csvsummarydata_ex <- read.csv(system.file("extdata","example_data1.csv", package="pKSEA"))#Get matched data using predictions from NetworKINmatched_data_ex <- get_matched_data(summarydata_ex, NetworKINPred_db)#Perform single run of pKSEA analysissingle_run_results_ex <- run_on_matched(matched_data_ex, n_permutations =10)