Description Usage Arguments Details Value Author(s) Examples

`average.rows`

matches rownames of a matrix to a `match`

vector and performs averaging of the rows
by the index provided by an `index`

vector.

1 | ```
average.rows(x, index, match, r = 0.7)
``` |

`x` |
a matrix |

`index` |
index vector indicating how rows must be averaged |

`match` |
match vector for indexing rows |

`r` |
minimal correlation value between rows to compute average |

rows will be averaged only if the pearson correlation coefficient between all rows of each given index is greater than r. If not, that group of rows is discarded in the result matrix.

a matrix of averaged rows

Ana Conesa and Maria Jose Nueda, mj.nueda@ua.es

1 2 3 4 5 6 |

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.