meta 分析

library(meta)
setwd(“F:\lungimm\17种癌症cox森林图\”)
dancox <- read.csv(“17种癌症cox
连续.csv”,stringsAsFactors = F)
dancox <- dancox[-1,]
rownames(dancox) <- dancox[,1]
metamod <- metagen(dancoxmeta分析 - 图1se.coef.,comb.fixed=T,studlab = rownames(dancox),sm = “HR”)
forest(metamod,refline = 1,mlab=”All cancer-type”,
showweights = T,col.square = “black”,
col.diamond = “red”,col.diamond.lines = “red”)
summary(metamod)