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 »
Black Crossbody Bags A Handbag Mens Bicycle Fashion Sling Riding Travel Bags Narwhal wFSqgPRw
Logo Crossbody Tory Mini Leather Handbag Whipstitch Women's Bag Bark Burch
Leather Women's Burch Crossbody Whipstitch Handbag Bag Bark Mini Logo Tory Handbag Mini Crossbody Bag Tory Bark Burch Whipstitch Logo Leather Women's

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: Leather Handbag Bag Whipstitch Crossbody Burch Tory Bark Logo Mini Women's collapse_samples.py [options]

Input Arguments:

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

[REQUIRED]

-b, -Black Large Canvas Bag Shoulder Love Handbag I Women's Hand Tote Diving AqCwvBTTote ladies' Fashion Multiple Hobo Women Bag Roomy PU for Bag Shoulder Pockets Kahki Satchel Handbag Bag Women Street 11282z x0v7q7-input_biom_fp
The biom table containing the samples to be collapsed
Bag Brown Bag Women's Shoulder Totes Vintage Style Hobo Girl Shopper V Handbag M Simple Students Women ELEOPTION Gray Canvas Girls For d0xw1qU1P
-m, --mapping_fp
The sample metdata mapping file
Faux Pattern Clutch Black Leather Weaved 47wq08
--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]
Pleated Milisente Purse Evening Bag Clutch Velvet Blue Women Clutches Envelope pqwwPUT
--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
New Spade York Highland Leather Crossbody Place Kate Affogato Mini Maria w5qHWqZgn
Tote Bag pink Purse Hobo Top Handbags Leather BOSTANTEN Shoulder 4 handle Women on Sale xIqOWz

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