analyze_contributions: Add meta data to contributions file

Description Usage Arguments Value

Description

This function loads a file as a matrix. It assumes that the first column contains the rownames and the subsequent columns are the sample identifiers. Any rows with duplicated row names will be dropped with the first one being kepted.

Usage

1
2
analyze_contributions(contributions_fp, contributions_id = "Sample",
  mappingfile_fp, mappingfile_id = "X.SampleID")

Arguments

contributions_fp

File location of the metagenomic_contributions.py output.

mappingfile_fp

File location of the input sample metadata.

Value

A very long dataframe with taxa information and sample metadata for each observed OTU.


twbattaglia/btools documentation built on May 3, 2019, 1:51 p.m.