Learn R Programming

metaseqR (version 1.12.2)

make.html.rows: HTML report helper

Description

Returns a character vector with html formatted rows. Essentially, it collapses every row of a matrix to a single character and puts a tag set around. It is meant to be applied to the output of make.html.cells. Internal use.

Usage

make.html.rows(mat)

Arguments

mat
the data matrix, usually the output of make.html.cells function.

Value

  • A character vector with html formatted rows of a matrix.

Examples

Run this code
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.rows <- make.html.rows(the.cells)

Run the code above in your browser using DataLab