addSampleTable | R Documentation |
Adds a sample table to an rms object
addSampleTable(rms.obj, sample.tbl)
rms.obj |
An |
sample.tbl |
A table with sample metadata (data.frame or tibble). |
This small function just adds a table with metadata about samples to an
already existing rms.obj
. The latter is a list
, and this function only
ensures the added element is correctly named Sample.tbl
.
If the supplied rms.obj
already contains a Sample.tbl
, it is simply replaced by the new sample.tbl
.
The sample.tbl
must contain at least the two columns sample_id
and
fasta_file
. The first is a unique text to identify each sample, the latter is
the name of the fasta file with processed reads, see readMapper
.
A list
similar to the input rms.obj
, but with one new element added.
Lars Snipen.
RMSobject
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.