inflam.path <- scan('mh.all.v2023.1.Mm.symbols.gmt',sep='\n',what="c")
inflam.path <- strsplit(inflam.path, "\t")
names(inflam.path) <- sapply(inflam.path, `[[`, 1)
inflam.path <- lapply(inflam.path, `[`, c(-1,-2))
inflam.path <- scan('mh.all.v2023.1.Mm.symbols.gmt',sep='\n',what="c")
inflam.path <- strsplit(inflam.path, "\t")
names(inflam.path) <- sapply(inflam.path, `[[`, 1)
inflam.path <- lapply(inflam.path, `[`, c(-1,-2))
本文标题:R语言读入gmt文件后转换为list
本文链接:https://www.haomeiwen.com/subject/fhboydtx.html
网友评论