Description Usage Arguments Details Value
aheatmap requires the annotation data frame to have rownames identical to colnames of the heatmap matrix; otherwise, nothing is drawn
1 | formatAnnotation4aheatmap(dat, sampleNames, minUV = 12)
|
dat |
annotation data frame, one row per sample |
sampleNames |
the colnames of the matrix in heatmap |
minUV |
minimum unique value to not be a factor |
the main goal for this function is to (1) add rownames (2) convert categorical variables to factor so that aheatmap can draw it; rownames can be passed to set rownames; of no rownames, aheatmap will not draw the column bar the conversion from categorical to factor is achieved using formatVec() as the engine.
a formated data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.