Skip to contents

Takes in a data frame with 2 columns (gene set name and gene name) and accumulates all genes in the same gene set into a list element.

Usage

format_gene_sets(gene_sets)

Arguments

gene_sets

data frame with first column gene set names and the second column the gene symbol. Long format expected.

Value

A named list with gene sets as names and genes as vectors.