The module supports specifying a list of preexisting common taxa to use


On Tue, Apr 15, 2014 at 12:10 PM, J W Debelius <notifications@github.com>wrote:

> In americangut/phyla_plots.py:
>
> > +
> > +    return mean_values
> > +
> > +
> > +def most_common_taxa(table, n):
> > +    """Determine the most common taxa by relative abundance in the table
> > +
> > +    Parameters
> > +    ----------
> > +
> > +    table : Table, the table to operate on
> > +    n : int, the number of taxa to return
> > +
> > +    Returns
> > +    -------
> > +    list : the n most common taxa sorted by abundance
>
> I think it did when I originally calculated the most common taxa. So, if
> you're doing them on the fly rather than setting them as a constant list,
> it might.
> ... <#1456695a12878faf_>
> On Tue, Apr 15, 2014 at 11:58 AM, Daniel McDonald <
> notifications@github.com>wrote: In americangut/phyla_plots.py: > + > +
> return mean_values > + > + > +def most_common_taxa(table, n): > +
> """Determine the most common taxa by relative abundance in the table > + >
> + Parameters > + ---------- > + > + table : Table, the table to operate on
> > + n : int, the number of taxa to return > + > + Returns > + ------- > +
> list : the n most common taxa sorted by abundance Does this matter when
> looking at the phylum level? -- Reply to this email directly or view it on
> GitHub<https://github.com/biocore/American-Gut/pull/86/files#r11648020> .
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/biocore/American-Gut/pull/86/files#r11648752>
> .
>