make.html.header: HTML report helper

Description Usage Arguments Value Author(s) Examples

Description

Returns a character vector with an html formatted table head row. Essentially, it collapses the input row to a single character and puts a <th></th> tag set around. It is meant to be applied to the output of make.html.cells. Internal use.

Usage

1

Arguments

h

the colnames of a matrix or data frame, usually as output of make.html.cells function.

Value

A character vector with html formatted header of a matrix.

Author(s)

Panagiotis Moulos

Examples

1
2
3
4
5
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,])

pmoulos/metaseqR-local documentation built on May 9, 2019, 1:13 a.m.