git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ROntoTools@116328 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,35 +1,35 @@ |
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 |
+% Please edit documentation in R/keggDataREST.R |
|
1 | 3 |
\name{keggPathwayGraphs} |
2 | 4 |
\alias{keggPathwayGraphs} |
3 | 5 |
\title{Download and parse KEGG pathway data} |
4 | 6 |
\usage{ |
5 |
- keggPathwayGraphs(organism = "hsa", |
|
6 |
- targRelTypes = c("GErel", "PCrel", "PPrel"), |
|
7 |
- relPercThresh = 0.9, nodeOnlyGraphs = FALSE, |
|
8 |
- updateCache = FALSE, verbose = TRUE) |
|
7 |
+keggPathwayGraphs(organism = "hsa", targRelTypes = c("GErel", "PCrel", |
|
8 |
+ "PPrel"), relPercThresh = 0.9, nodeOnlyGraphs = FALSE, |
|
9 |
+ updateCache = FALSE, verbose = TRUE) |
|
9 | 10 |
} |
10 | 11 |
\arguments{ |
11 |
- \item{organism}{organism code as defined by KEGG} |
|
12 |
+\item{organism}{organism code as defined by KEGG} |
|
12 | 13 |
|
13 |
- \item{targRelTypes}{target relation types} |
|
14 |
+\item{targRelTypes}{target relation types} |
|
14 | 15 |
|
15 |
- \item{relPercThresh}{percentage of the number of relation |
|
16 |
- types over all possible realtions in the pathway} |
|
16 |
+\item{relPercThresh}{percentage of the number of relation types over all possible realtions in the pathway} |
|
17 | 17 |
|
18 |
- \item{nodeOnlyGraphs}{allow graphs with no edges} |
|
18 |
+\item{nodeOnlyGraphs}{allow graphs with no edges} |
|
19 | 19 |
|
20 |
- \item{updateCache}{re-download KEGG data} |
|
20 |
+\item{updateCache}{re-download KEGG data} |
|
21 | 21 |
|
22 |
- \item{verbose}{show progress of downloading and parsing} |
|
22 |
+\item{verbose}{show progress of downloading and parsing} |
|
23 | 23 |
} |
24 | 24 |
\value{ |
25 |
- A list of \code{\link{graphNEL}} objects encoding the |
|
26 |
- pathway information. |
|
25 |
+A list of \code{\link{graphNEL}} objects encoding the pathway information. |
|
27 | 26 |
} |
28 | 27 |
\description{ |
29 |
- Download and parse KEGG pathway data |
|
28 |
+Download and parse KEGG pathway data |
|
30 | 29 |
} |
31 | 30 |
\examples{ |
32 |
-# The pathway cache provided as part of the pathway contains only the |
|
31 |
+ |
|
32 |
+# The pathway cache provided as part of the pathway contains only the |
|
33 | 33 |
# pathways that passed the default filtering. We recommend, re-downloading |
34 | 34 |
# the pathways using the updateCache parameter |
35 | 35 |
kpg <- keggPathwayGraphs("hsa") |
... | ... |
@@ -43,11 +43,12 @@ head(names(kpg)) |
43 | 43 |
kpg[["path:hsa04110"]] |
44 | 44 |
head(nodes(kpg[["path:hsa04110"]])) |
45 | 45 |
head(edges(kpg[["path:hsa04110"]])) |
46 |
+ |
|
46 | 47 |
} |
47 | 48 |
\author{ |
48 |
- Calin Voichita and Sorin Draghici |
|
49 |
+Calin Voichita and Sorin Draghici |
|
49 | 50 |
} |
50 | 51 |
\seealso{ |
51 |
- \code{\link{keggPathwayNames}} |
|
52 |
+\code{\link{keggPathwayNames}} |
|
52 | 53 |
} |
53 | 54 |
|
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ROntoTools@75116 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ROntoTools@74711 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,53 @@ |
1 |
+\name{keggPathwayGraphs} |
|
2 |
+\alias{keggPathwayGraphs} |
|
3 |
+\title{Download and parse KEGG pathway data} |
|
4 |
+\usage{ |
|
5 |
+ keggPathwayGraphs(organism = "hsa", |
|
6 |
+ targRelTypes = c("GErel", "PCrel", "PPrel"), |
|
7 |
+ relPercThresh = 0.9, nodeOnlyGraphs = FALSE, |
|
8 |
+ updateCache = FALSE, verbose = TRUE) |
|
9 |
+} |
|
10 |
+\arguments{ |
|
11 |
+ \item{organism}{organism code as defined by KEGG} |
|
12 |
+ |
|
13 |
+ \item{targRelTypes}{target relation types} |
|
14 |
+ |
|
15 |
+ \item{relPercThresh}{percentage of the number of relation |
|
16 |
+ types over all possible realtions in the pathway} |
|
17 |
+ |
|
18 |
+ \item{nodeOnlyGraphs}{allow graphs with no edges} |
|
19 |
+ |
|
20 |
+ \item{updateCache}{re-downlaod KEGG data} |
|
21 |
+ |
|
22 |
+ \item{verbose}{show progress of downloading and parsing} |
|
23 |
+} |
|
24 |
+\value{ |
|
25 |
+ A list of \code{\link{graphNEL}} objects encoding the |
|
26 |
+ pathway information. |
|
27 |
+} |
|
28 |
+\description{ |
|
29 |
+ Download and parse KEGG pathway data |
|
30 |
+} |
|
31 |
+\examples{ |
|
32 |
+# The pathway cache provided as part of the pathway contains only the |
|
33 |
+# pathways that passed the default filtering. We recommend, re-downloading |
|
34 |
+# the pathways using the updateCache parameter |
|
35 |
+kpg <- keggPathwayGraphs("hsa") |
|
36 |
+ |
|
37 |
+# to update the pathway cache for human run: |
|
38 |
+# kpg <- keggPathwayGraphs("hsa", updateCache = TRUE) |
|
39 |
+# this is time consuming and depends on the available bandwith. |
|
40 |
+ |
|
41 |
+head(names(kpg)) |
|
42 |
+ |
|
43 |
+kpg[["path:hsa04110"]] |
|
44 |
+head(nodes(kpg[["path:hsa04110"]])) |
|
45 |
+head(edges(kpg[["path:hsa04110"]])) |
|
46 |
+} |
|
47 |
+\author{ |
|
48 |
+ Calin Voichita and Sorin Draghici |
|
49 |
+} |
|
50 |
+\seealso{ |
|
51 |
+ \code{\link{keggPathwayNames}} |
|
52 |
+} |
|
53 |
+ |