Description Usage Arguments Value Author(s) References See Also Examples
exportCdt, exportGtr, exportAtr, are slightly modified of the r2cdt, r2gtr, and r2atr functions, respectively, from the package ctc.
exportCdt generates a tab-delimited cdt file from a dataframe where the first column contains gene IDs, the second column contains gene names or descriptions, and the remaining columns represent samples. Column names are assumed to be sample names. In addition, corresponding hierarchical gene and sample clusterings are required to re-order genes and samples accordingly.
exportGtr and exportAtr generate tab-delimited TreeView files representing the hierarchical gene and sample clustering, respectively.
1 2 3 |
hr |
An hclust object representing the gene clustering |
hc |
An hclust object representing the sample clustering |
data |
A dataframe where the first column may contain gene IDs, the second column may contain gene names or descriptions, and the remaining columns represent samples. Column names are assumed to be sample names. |
labels |
If TRUE, the first column of data is assumed to contain gene IDs. |
description |
If TRUE, the second column of data is assumed to contain gene names or descriptions. |
file |
The name of the file to be generated. |
dec |
The character to be used for decimal points. |
Nothing is returned but a file with the specified name is created.
Johannes Freudenberg
ctc package: http://antoinelucas.free.fr/ctc/
fTreeView: http://eh3.uc.edu/ftreeview
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.