Functions for deriving single-sample pathway perturbation scores |
|
---|---|
Compute weighted single sample LogFCs from normalised logCPM |
|
Retrieve pathway topology as weighted adjacency matrix |
|
Compute Gene-wise Perturbation Score |
|
Compute Single-sample Pathway-level Perturbation Score |
|
Rank genes by perturbation scores within each sample |
|
Permute sample labels to simulate null distribution of perturbation scores |
|
Normalise test perturbation scores by permutation results |
|
Visualisation Functions |
|
Plot significantly perturbed gene-sets as a network |
|
Plot genes' contribution to a specific pathway's perturbation as heatmap |
|
Visualise the community structure in significantly perturbed gene-set network |
|
Plot pathways and genes contained in them as a network |
|
Data Objects |
|
logCPM_example: Normalised logCPM of patient-derived explant models obtained from 5 ER-positive primamry breast cancer patients (GSE80098) |
|
metadata_example: Sample metadata for malignant breast cancer tumours PDE from 5 ER+ breast cancer patients (GSE80098) |
|
gsAnnotation_df: Categorization of KEGG pathways used for community annotation |
|
Package |
|
sSNAPPY: A package for testing directional single sample pathway perturbation |