Description Usage Arguments Details Value Author(s) Examples

Insert values from a matrix into another matrix baded on the rownames and colnames replacing the values.

1 | ```
AintoB(A, B)
``` |

`A` |
A matrix to be inserted. |

`B` |
A matrix to insert in. |

If all the genes with pathway information are already calculated but you would like to use more genes when performing analysis. insert the once you have calculated on the matrix of genes.

A matrix with the values of A in the matrix B.

Llu<c3><ad>s Revilla

1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ```
B <- matrix(ncol = 10, nrow = 10,
dimnames = list(letters[1:10], letters[1:10]))
A <- matrix(c(1:15), byrow=TRUE, nrow=5,
dimnames = list(letters[1:5], letters[1:3]))
AintoB(A, B)
# Mixed orders
colnames(A) <- c("c", "h", "e")
rownames(A) <- c("b", "a", "f", "c", "j")
AintoB(A, B)
# Missing colums or rows
colnames(A) <- c("d", "f", "k")
AintoB(A, B)
``` |

Bioconductor-mirror/BioCor documentation built on May 29, 2017, 12:07 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.