This function takes one of three inputs:
csv file where pathway title is in the first column and subsequent columns contain genes of that pathway
A gmt file
A tidy formatted list where pathway name is contained in the first column and the genes of that pathway are in the second column
get_paths(pathway_filepath)
filepath to csv or gmt file
list of pathways with corresponding genes
if (FALSE) {
pathways <- get_paths(
"Documents/gene_list.csv"
)
}