Load_metadata: Load_metadata

Description Usage Arguments

View source: R/utils.R

Description

Load metadata file - A tab-separated ASCII text file. The row names of metadata table are the unique sample ids. The metadata file has three colunms (i.e., 'Env', 'SourceSink', 'id'). The first column is a description of the sampled environment (e.g., human gut), the second column indicates if this sample is a source or a sink (can take the value 'Source' or 'Sink'). The fourth column is the Sink-Source id. When using multiple sinks, each tested with the same group of sources, only the rows with 'SourceSink' = Sink will get an id (between 1 - number of sinks in the data). In this scenatio, the sources ids are blank. When using multiple sinks, each tested with a distinct group of sources, each combination of sink and its corresponding sources should get the same id (between 1 - number of sinks in the data). Note that these names must be respected.

Usage

1
Load_metadata(metadata_path)

Arguments

metadata_path

A path to a tab-separated ASCII text metadata file.


wsteenhu/FEAST documentation built on Jan. 14, 2022, 6:06 a.m.