... | ... |
@@ -4,8 +4,7 @@ |
4 | 4 |
\alias{get_pathways_annotations} |
5 | 5 |
\title{Get Pathways functional annotations} |
6 | 6 |
\usage{ |
7 |
-get_pathways_annotations(pathway_names, metaginfo, dbannot, |
|
8 |
- collapse = FALSE) |
|
7 |
+get_pathways_annotations(pathway_names, metaginfo, dbannot, collapse = FALSE) |
|
9 | 8 |
} |
10 | 9 |
\arguments{ |
11 | 10 |
\item{pathway_names}{Character vector of the names of the pathways} |
... | ... |
@@ -4,7 +4,8 @@ |
4 | 4 |
\alias{get_pathways_annotations} |
5 | 5 |
\title{Get Pathways functional annotations} |
6 | 6 |
\usage{ |
7 |
-get_pathways_annotations(pathway_names, metaginfo, dbannot, collapse = FALSE) |
|
7 |
+get_pathways_annotations(pathway_names, metaginfo, dbannot, |
|
8 |
+ collapse = FALSE) |
|
8 | 9 |
} |
9 | 10 |
\arguments{ |
10 | 11 |
\item{pathway_names}{Character vector of the names of the pathways} |
... | ... |
@@ -32,7 +32,7 @@ pathways <- load_pathways(species = "hsa", pathways_list = c("hsa03320", |
32 | 32 |
"hsa04012")) |
33 | 33 |
pathway_names <- c("P-hsa03320-37", "P-hsa03320-61", "P-hsa03320-46", |
34 | 34 |
"P-hsa03320-57", "P-hsa03320-64", "P-hsa03320-47", "P-hsa03320-65") |
35 |
-get_pathways_annotations(pathway_names, pathways, "GO") |
|
35 |
+\dontrun{get_pathways_annotations(pathway_names, pathways, "GO")} |
|
36 | 36 |
get_pathways_annotations(pathway_names, pathways, "uniprot") |
37 | 37 |
|
38 | 38 |
} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,38 @@ |
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 |
+% Please edit documentation in R/utils.R |
|
3 |
+\name{get_pathways_annotations} |
|
4 |
+\alias{get_pathways_annotations} |
|
5 |
+\title{Get Pathways functional annotations} |
|
6 |
+\usage{ |
|
7 |
+get_pathways_annotations(pathway_names, metaginfo, dbannot, collapse = FALSE) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{pathway_names}{Character vector of the names of the pathways} |
|
11 |
+ |
|
12 |
+\item{metaginfo}{Pathways object} |
|
13 |
+ |
|
14 |
+\item{dbannot}{Either a string indicating which precomputed annotation |
|
15 |
+to use ("uniprot" for Uniprot Keywords or "GO" for Gene Ontology terms), |
|
16 |
+or a dataframe with the annotation of the genes to the functions. First |
|
17 |
+column are gene symbols, second column the functions.} |
|
18 |
+ |
|
19 |
+\item{collapse}{Boolean, whether to collapse all functions of the same |
|
20 |
+path in a single character string.} |
|
21 |
+} |
|
22 |
+\value{ |
|
23 |
+2-columns matrix with the annotations of each pathway ID in the |
|
24 |
+annotation \code{dbannot}. |
|
25 |
+} |
|
26 |
+\description{ |
|
27 |
+Get functional annotation of the pathways, either for a particular |
|
28 |
+annotation or a stored one. |
|
29 |
+} |
|
30 |
+\examples{ |
|
31 |
+pathways <- load_pathways(species = "hsa", pathways_list = c("hsa03320", |
|
32 |
+"hsa04012")) |
|
33 |
+pathway_names <- c("P-hsa03320-37", "P-hsa03320-61", "P-hsa03320-46", |
|
34 |
+"P-hsa03320-57", "P-hsa03320-64", "P-hsa03320-47", "P-hsa03320-65") |
|
35 |
+get_pathways_annotations(pathway_names, pathways, "GO") |
|
36 |
+get_pathways_annotations(pathway_names, pathways, "uniprot") |
|
37 |
+ |
|
38 |
+} |