Description Usage Arguments Value Author(s) Examples
View source: R/metaseqr.util.R
Returns a character matrix with html formatted table cells. Essentially, it converts the input data to text and places them in a <td></td> tag set. Internal use.
1 | make.html.cells(mat, type = "numeric", digits = 3)
|
mat |
the data matrix (numeric or character) |
type |
the type of data in the matrix
( |
digits |
the number of digits on the right of the
decimal points to pass to |
A character matrix with html formatted cells.
Panagiotis Moulos
1 2 3 4 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.