moonstone.parsers.counts.Picrust2PathwaysParser

class moonstone.parsers.counts.Picrust2PathwaysParser(*args, **kwargs)[source]

Predicted sample pathway abundances output file from Picrust2.

Format is the following:

pathways

sample_1

sample_2

pathway_1

14.3

123.4

pathway_2

94.1

1232.1

__init__(*args, **kwargs)[source]
Parameters
  • file_path – path of the input file to be parsed

  • sep – delimiter to use (same behaviour as read_csv from pandas)

  • no_header – set to True if table has no header

  • parsing_options – Extra parsing options for read_csv method, (see pandas documentation)

Methods

__init__(*args, **kwargs)

param file_path

path of the input file to be parsed

Attributes

dataframe

Retrieve the pandas dataframe constructed from the input file.

plotter

Access to instance dedicated to visualization for this type of data.