Description Usage Arguments Value Author(s) See Also Examples
Takes as arguments two vectors of IDs and test whether they have a common ID.
1 | check.path(p1, p2)
|
p1 |
Vector of pathways that gene 1 belongs to. |
p2 |
Vector of pathways that gene 2 belongs to. |
Return 0 if the two genes don't belong to a common pathway, return 1 otherwise.
This is an internal function used by the function target.help
.
Monika Jelizarow and Vincent Guillemot
1 2 3 4 5 | g1 <- c("path1","path2","path3","path4")
g2 <- c("path5","path6","path3","path11")
g3 <- c("path10","path5","path12","path13")
check.path(g1,g2) # 1
check.path(g1,g3) # 0
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.