Description Usage Arguments Value Examples
This file reads in the tsv file with features and converts it into a matrix.
The file should be oragnized as follows: features (in rows) x samples (in columns).
First row should contain sample labels (consistent with label data), while
the first column should contain feature labels (e.g. taxonomic identifiers).
The remaining entries are expected to be real values >= 0
that
quantify the abundance of each feature in each sample.
1 | read.features(fn.in.feat, transpose = FALSE, verbose = 0)
|
fn.in.feat |
name of the tsv file containing features |
transpose |
should the features table be transposed? |
verbose |
control output: |
otu_table
containing features from the file
1 2 3 4 5 | # run with example data
fn.feat <- system.file('extdata', 'feat_crc_zeller_msb_mocat_specI.tsv',
package = 'SIAMCAT')
features <- read.features(fn.feat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.