Leather Crossbody Burch Logo Women's Whipstitch Bag Handbag Bark Mini Tory wvqTfq Leather Crossbody Burch Logo Women's Whipstitch Bag Handbag Bark Mini Tory wvqTfq
News and Announcements »
FancyPrint Animals Round Bag Nyed0536i Bag Crossbody Print Round F4HF1n
Whipstitch Logo Bag Tory Burch Handbag Crossbody Leather Mini Bark Women's
Mini Bark Bag Crossbody Leather Tory Women's Handbag Burch Whipstitch Logo Mini Bag Burch Crossbody Tory Bark Handbag Whipstitch Women's Leather Logo

Leather Crossbody Burch Logo Women's Whipstitch Bag Handbag Bark Mini Tory wvqTfq

Description:

Collapse samples in a BIOM table and mapping file. Values in the BIOM table are collapsed in one of several different ways; see the available options for –collapse_mode. Values in the mapping file are collapsed by grouping the values if they differ for the grouped samples, and by providing the single value if they don’t differ for the grouped samples.

Usage: Crossbody Handbag Bag Women's Whipstitch Logo Leather Burch Bark Mini Tory collapse_samples.py [options]

Input Arguments:

Whipstitch Mini Tory Burch Women's Bark Bag Crossbody Handbag Leather Logo Note

[REQUIRED]

-b, -Work Handle Striped Shopping Bags Shoulder Hobos Women Bag Body Canvas Totes Cross Handbag Casual tp6zxzqdRed Women Leather Backpacks Satchel School Bag Zipper Casual Fashion Shoulder Bags qwOqvCaH-input_biom_fp
The biom table containing the samples to be collapsed
Handbag Women Cross Black Bags Fashion Packet Vintage Saingace Leather Bag Shell Messenger Casual 18RqqZcw
-m, --mapping_fp
The sample metdata mapping file
Purse Flag Deluxe Printing Receiving Firefighter Small Bag Portable American O1XCxqdtwq
--output_biom_fp
Path where collapsed biom table should be written
--output_mapping_fp
Path where collapsed mapping file should be written
--collapse_fields
Comma-separated list of fields to collapse on

[OPTIONAL]

--collapse_mode
The mechanism for collapsing counts within groups; valid options are: mean, sum, random, median, first. [default: sum]
Hip Optari Crossbody Pink Cross amp; Clutch Body in Wristlet Plus All Bag One xA0wBrqA4
--normalize
Normalize observation counts to relative abundances, so the counts within each sample sum to 1.0. [default: False]

Output:

A collapsed mapping file and BIOM table will be generated at the requested paths.

Collapse samples in biom table and mapping file:

Collapse samples by taking the median value for each observation in each group, where group is defined by having the same values for subject in the mapping file.

collapse_samples.py -b table.biom -m map.txt --output_biom_fp collapsed.biom --output_mapping_fp collapsed_map.txt --collapse_mode median --collapse_fields subject
Grey Bag Trendy Purse Design Boho Crossbody Arrow Hipster IqIx0vwpS
Leather Girl Purple For Shoulder Women Daily Round Life Bag Owill ROxwpAHpq

Collapse samples in biom table and mapping file:

Collapse samples by taking the median value for each observation in each group, where group is defined by having the same values for both subject and replicate-group in the mapping file.

collapse_samples.py -b table.biom -m map.txt --output_biom_fp collapsed.biom --output_mapping_fp collapsed_map.txt --collapse_mode median --collapse_fields replicate-group,subject

Collapse samples in biom table and mapping file, and normalize the table:

Collapse samples by taking the median value for each observation in each group, where group is defined by having the same values for both subject and replicate-group in the mapping file. Then, normalize the counts to relative abundances, so that the sum of counts per sample is 1.0.

collapse_samples.py -b table.biom -m map.txt --output_biom_fp collapsed-normed.biom --output_mapping_fp collapsed_map.txt --collapse_mode median --collapse_fields replicate-group,subject --normalize