Skip to content

Add version of sweep() that works on phyloseq and otu_table objects #62

Description

@mikemc

Same functionality as base::sweep(), but also allow the margin to be specified as "taxa" or "samples" and for the taxa/sample names to get automatically matched up if the STATS argument is a named vector. Perhaps use lowercase arguments since the uppercase args of sweep() are a bit gauche. Could name the function ps_sweep() or ss_sweep().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions