Description Usage Arguments Examples
Import a table (.csv, or tab seprated values, .tsv file) and write it in markdown format to the report.
1 2 3 4 5 6 7 8 | md.import.table(
from.file.table,
title_of_table,
has.rownames = TRUE,
has.colnames = TRUE,
field.sep = "\t",
to.file = path_of_report
)
|
from.file.table |
The *.tsv file to be appended as table at the (current) last line of the report. |
title_of_table |
Title above the table (as header 4, in the markdown report). |
has.rownames |
If the first column contains (unique!) rownames. |
has.colnames |
If the first line of the file contains the header, or the column names. |
field.sep |
Field separator in table file. Tab's by default. |
to.file |
The report file. Defined as "path_of_report" by default, which is set by the "setup_MarkdownReports" function. |
1 2 | x = matrix(1:9,3); utils::write.table(x, sep = "\t", file = "~/x.tsv");
md.import.table("~/x.tsv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.