Description Usage Arguments Value See Also Examples
View source: R/interact_foreign.R
Build a gene list for a given pathway name
1 | build_gene_list_for_pathway(in_string, in_organism)
|
in_string |
Name or description of the pathway |
in_organism |
Name of the taxon to be searched in |
A character vector of gene names
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | species <- "hsa"
gene_lists_meta_df <- data.frame(
name=c("BER","NHEJ","MMR"),
explanation=c("base excision repair",
"non homologous end joining",
"mismatch repair"))
number_of_pathways <- dim(gene_lists_meta_df)[1]
gene_lists_list <- list()
for (i in seq_len(number_of_pathways)) {
temp_list <-
build_gene_list_for_pathway(gene_lists_meta_df$explanation[i],
species)
gene_lists_list <- c(gene_lists_list,list(temp_list))
}
gene_lists_list
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.