Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Need a sample / feature palette for the proportion_plots #244

Open
mortonjt opened this issue Oct 23, 2017 · 0 comments
Open

Need a sample / feature palette for the proportion_plots #244

mortonjt opened this issue Oct 23, 2017 · 0 comments

Comments

@mortonjt
Copy link
Collaborator

Here is the function signature for the proportion_plots

    """ Plot the mean proportions of features within a balance.

    This plots the numerator and denominator components within a balance.

    Parameters
    ----------
    table : pd.DataFrame
       Table of relative abundances.
    metadata : pd.DataFrame
       Samples metadata
    feature_metadata : pd.DataFrame
       The metadata associated to the features.
    category : str
       Name of sample metadata category.
    left_group : str
       Name of group within sample metadata category to plot
       on the left of the plot.
    right_group : str
       Name of group within sample metadata category to plot
       on the right of the plot.
    label_col : str
       Column in the feature metadata table to summarize by.
    num_color : str
       Color to plot the numerator.
    denom_color : str
       Color to plot the denominator.

    Returns
    -------
    ax_num : matplotlib.pyplot.Axes
       Matplotlib axes for the numerator bars
    ax_denom : matplotlib.pyplot.Axes
       Matplotlib axes for the denominator bars

We need to keep the feature coloring and sample_coloring separate

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant