Description Usage Arguments Details Value Author(s)

readA

1 |

`Afile` |
The file which contains the matrix of sample
contributions. It must be a txt file where the separator
is |

`datfile` |
The file which contains the matrix (of dimension features x samples) based on which the matrix A was calculated |

`dat` |
The data based on which the matrix A was calculated (features x samples) |

`annot` |
TRUE (default) if the Afile contains rownames of matrix A, FALSE if the rownames has to be extracted from dat |

This function reads and annotates matrix A.

The matrix dat must be the one on which the matrix A was
calculated. It is assumed that the number of components
is lower than the number of samples, the matrix will be
transposed to have dimension 'samples x components'
according to this assumption. If `annot`

is FALSE,
colnames of dat are used to annotate rownames of A.

This function returns a matrix of dimension samples x components with rownames filled with sample IDs.

Anne Biton

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.