xtable,annotationTable,missing,missing,missing,missing,missing-method {a4Reporting} | R Documentation |
xtable
methods for several a4 objects, such as annotationTable
objects,
topTable
objects etc.
## S4 method for signature ## 'annotationTable,missing,missing,missing,missing,missing' xtable(x, caption, label, align, digits, display) ## S4 method for signature 'annotationTable,ANY,ANY,ANY,ANY,ANY' xtable(x, caption, label, align, digits, display) ## S4 method for signature 'annotationTable,ANY,ANY,ANY,numeric,ANY' xtable(x, caption, label, align, digits, display) ## S3 method for class 'topTableGlmnet' xtable( x, caption = NULL, label = NULL, align = NULL, digits = NULL, display = NULL, ... ) ## S3 method for class 'topTableLognet' xtable( x, caption = NULL, label = NULL, align = NULL, digits = NULL, display = NULL, ... ) ## S3 method for class 'topTableElnet' xtable( x, caption = NULL, label = NULL, align = NULL, digits = NULL, display = NULL, ... ) ## S3 method for class 'pamClassConfusionTable' xtable( x, caption = NULL, label = NULL, align = NULL, digits = NULL, display = NULL, ... ) ## S3 method for class 'topTablePam' xtable(x, ...) ## S3 method for class 'topTableRfClass' xtable( x, caption = NULL, label = NULL, align = NULL, digits = NULL, display = NULL, ... )
x |
annotationTable object |
caption |
Character vector of length 1 or 2 containing the
table's caption or title. If length is 2, the second item is the
"short caption" used when LaTeX generates a "List of Tables". Set to
|
label |
Character vector of length 1 containing the LaTeX label
or HTML anchor. Set to |
align |
Character vector of length equal to the number of columns
of the resulting table, indicating the alignment of the corresponding
columns. Also, |
digits |
Numeric vector of length equal to one (in which case it will be
replicated as necessary) or to the number of columns of the
resulting table or matrix of the same size as the resulting
table, indicating the number of digits to display in the
corresponding columns. Since the row names are printed in the first
column, the length of the vector |
display |
Character vector of length equal to the number of columns of the
resulting table, indicating the format for the corresponding columns.
Since the row names are printed in the first column, the length of
|
... |
Additional arguments. (Currently ignored.) |
generates a LaTeX representation for the given annotationTable
generates a LaTeX representation for the given annotationTable
generates a LaTeX representation for the given annotationTable
## some dummy data dData <- data.frame(someSymbol = LETTERS[1:5], accessionNumber = c("X83928", "V00540", "U21090", "L38487", "M34057")) at <- annotationTable(displayData = dData, displayCols = list(accessionNumber = "EntrezId")) xat <- xtable(at) print(xat, include.rownames = FALSE)