read_gmt | R Documentation |
Read a GMT file into a data frame
read_gmt(file, geneset_label = "celltype", gene_label = "gene")
file |
A connection object or a character string (can be a URL). |
geneset_label |
Column name for gene sets (first column of the GMT file) in the output data frame. |
gene_label |
Column name for genes (variable columns of the GMT file) in the output data frame. |
A data frame with gene sets as the first column and genes as the second column (one gene per row).
gmt <- "http://software.broadinstitute.org/gsea/msigdb/supplemental/scsig.all.v1.0.symbols.gmt"
gmt_tbl <- read_gmt(gmt)
head(gmt_tbl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.