powered by
Read a GMT file into a data frame
read_gmt(file, geneset_label = "celltype", gene_label = "gene")
A data frame with gene sets as the first column and genes as the second column (one gene per row).
A connection object or a character string (can be a URL).
Column name for gene sets (first column of the GMT file) in the output data frame.
Column name for genes (variable columns of the GMT file) in the output data frame.
gmt <- "http://software.broadinstitute.org/gsea/msigdb/supplemental/scsig.all.v1.0.symbols.gmt" gmt_tbl <- read_gmt(gmt) head(gmt_tbl)
Run the code above in your browser using DataLab