Calculate the gene-pair based prognostic signature PCGPier for prostate cancer samples. This prognosis prediction study established a gene-pairs based RFS prediction classifier for prostate cancer patients, which is universal applicable in multiple cohorts with different gene expression detection methods.
You may install this package with:
if (!require("devtools"))
install.packages("devtools")
devtools::install_github("AHMUJia/PCGPier")# load R package and internal data set
library(PCGPier)
load(system.file("extdata", "demo.RData", package = "PCGPier", mustWork = TRUE))
# calculate PCGPier
riskscore <- PCGPier(expr = demo)
# print
head(riskscore)
# SampleID Riskscore Group
# 1 GSM1133136 -1.0774821 HRisk
# 2 GSM1133137 -1.6531444 HRisk
# 3 GSM1133138 -3.1462112 LRisk
# 4 GSM1133139 0.6813608 HRisk
# 5 GSM1133140 -0.9929728 HRisk
# 6 GSM1133141 -1.3352130 HRisk