moonstone.parsers.counts.taxonomy.Metaphlan2Parser¶
-
class
moonstone.parsers.counts.taxonomy.Metaphlan2Parser(*args, analysis_type='rel_ab', **kwargs)[source]¶ Parse output from Metaphlan2 merged table.
-
__init__(*args, analysis_type='rel_ab', **kwargs)¶ - Parameters
analysis_type (
str) – output type of Metaphlan3 (see-toption of metaphlan3)
Methods
__init__(*args[, analysis_type])- type analysis_type
str
compare_difference_between_two_levels(…)- rtype
DataFrame
remove_duplicates(df)- rtype
DataFrame
rows_differences(dataframe1, dataframe2)- rtype
DataFrame
split_taxa_fill_none(df[, sep, taxo_prefix, …])- type terms_to_remove
Optional[List]
Attributes
dataframeRetrieve the pandas dataframe constructed from the input file.
plotterAccess to instance dedicated to visualization for this type of data.
rank_levelretrieves rank_level
taxa_columntaxonomical_names-