library(GRC)

data=system.file("data","data.Rda", package="GRC")
load(data) 
gene="100134869"
res=regulator(gene,data)
plot.reg.down(res,type="circle")
dat=data[1:50,]
pathM(dat)
gene="100134869"
res=regulator(gene,data,type=2)
res=Top(res,10)
plot.reg.up(res,"circle")
 gg=list(TEST=res$target[c(1:12)])
GP(data,gg)
load('data.Rda') #This data included in GRC package root or data directory.
data=t(data)
data=data[,1]
mutation=rep(c(2,1,0),c(20,18,7))
sample=rownames(data)
data=cbind(sample,data)
data=cbind(data,mutation)

colnames(data)=c('sample','expression','group') 
SL(data=data,plot = FALSE)           
library(survival)
library(GRC)
library(survminer)
library(survivalROC)
data(lung)
n=dim(lung)[1]
data=cbind(lung$age,lung$time)
data=cbind(data,lung$status)
cutoff(data,type = "Y")


onesand1/GRC documentation built on Dec. 22, 2020, 1:38 a.m.