Description Usage Arguments Value Author(s) Examples
View source: R/metaseqr.util.R
Returns a character vector with an html formatted table.
Essentially, it collapses the input rows to a single
character and puts a <tbody></tbody> tag set around. It
is meant to be applied to the output of
make.html.rows
. Internal use.
1 | make.html.body(mat)
|
mat |
the character vector produced by
|
A character vector with the body of mat formatted in html.
Panagiotis Moulos
1 2 3 4 5 6 7 | data.matrix <- round(1000*matrix(runif(400),100,4))
rownames(data.matrix) <- paste("gene_",1:100,sep="")
colnames(data.matrix) <- c("C1","C2","T1","T2")
the.cells <- make.html.cells(data.matrix)
the.header <- make.html.header(the.cells[1,])
the.rows <- make.html.rows(the.cells)
the.body <- make.html.body(the.rows)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.