pathway_list <- c("pathway_one response to stimulus",
"pathway_two cell growth and death",
"pathway_three regulation of cellular process",
"pathway_four metabolic process")
selected_pathways <- selectPathways(pathway_list, max_words = 5, num_select = 2)
Run the code above in your browser using DataLab