latEDtable: use latex tags for dimnames of table created from edd...

Description Usage Arguments Details Value Author(s) Examples

View source: R/latEDtable.R

Description

use latex tags for dimnames of table created from edd classification

Usage

1

Arguments

x

x – a table (possibly two dimensional) of results of applying edd

baselist

baselist – a list of eddDist objects

reorder

reorder – a numeric vector describing how to re order the table rows/columns

Details

for use with xtable rendering. table will give results with margin names in lexicographic order; reorder can be used to get a different order.

Value

a matrix with dimnames computed from the latexTag slots of the corresponding eddDist objects

Author(s)

Vince Carey <stvjc@channing.harvard.edu>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
require(Biobase)
data(sample.ExpressionSet)
# should filter to genes with reasonable variation
rawTab <- table( edd(sample.ExpressionSet, meth="nnet", size=10, decay=.2) )
latEDtable(rawTab)
library(xtable)
xtable(latEDtable(rawTab))
#
realTags <- sapply(eddDistList,tag)
reo <- match(realTags,names(rawTab))
xtable(latEDtable(rawTab,reorder=reo))

edd documentation built on May 2, 2019, 6:10 p.m.