Restriction: currently, the footer will be cropped at the table width.
plotTable(
data,
title = "",
footer = "",
col_names = colnames(data),
fill = c("grey90", "grey70"),
col = "black",
just = "centre"
)
A data.frame with columns as described above
Table title
Footer text
Column names for Table
Fill pattern (by row)
Text color (by column)
(ignored)
gTree object with class 'PTXQC_table'
# NOT RUN {
data = data.frame(raw.file = letters[1:4],
id.rate = 3:6)
plotTable(data,
title = "Bad files",
footer = "bottom",
col_names = c("first col", "second col"),
col=c("red", "green"))
# }
Run the code above in your browser using DataLab