Skip to content

cdesterke/loopcolcox

Repository files navigation

loopcolcox

R-package to perform loop of univariate cox analyses on columns of a dataframe

compute analyses

library(devtools)
install_github("cdesterke/loopcolcox")

compute analyses

##load package
library(loopcolcox)

data(cancer)
library(dplyr)
cancer%>%select(3:7)->data
df<-coxbycol(cancer$OS.TIME ,cancer$OS.STATUS ,data)
head(df)

res

bar plot graph output

library(patchwork)
## nb : number of covariates to put on the graph
p1<-plotbeta(df,nb=5,title="",size=16)
p2<-plotnlphr(df,nb=5,title="",size=16)
p1+p2

plot

Volcanoplot output (added in version 1.0.1)

## font.size : size of the font in the graph
coxvolcano(df,font.size=18)

plot

references article using this software:

Christophe Desterke, Yao Xiang, Rima Elhage, Clémence Duruel, Yunhua Chang, Ahmed Hamaï 2023. "Ferroptosis Inducers Upregulate PD-L1 in Recurrent Triple-Negative Breast Cancer".Cancers (Basel). 2023 Dec 28;16(1):155. https://doi.org/10.3390/cancers16010155.

About

R-package to perform loop of univariate cox analyses on columns of a dataframe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages