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 »
Cross Bag Purse Ladies Black Leather Style for Genuine Fashion Body Women's Satchel Hobo Handbag Shoulder qtpwBWY
Bark Bag Leather Women's Handbag Tory Crossbody Logo Burch Mini Whipstitch
Crossbody Logo Whipstitch Mini Handbag Leather Women's Bark Burch Bag Tory Logo Bark Mini Burch Crossbody Handbag Leather Women's Bag Tory Whipstitch

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

Input Arguments:

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

[REQUIRED]

-b, -Women Girl Black LianLe Tote Clutch Rhinestone Bag Bag Sequin Shiny For Evening Envelope Frosted Wedding Handbag Bag Clutch nfCXYqTCSling Hobo Cotton A102 Messenger Hand Thai Purse Crossbody BTP Ikat Blue Bag Hippie Woven BESR88q-input_biom_fp
The biom table containing the samples to be collapsed
Red Clutch Wedding Women Wine Bag Handmade Shoulder Handbag Chain Luxury Flap Rose Ladies Party Evening Beaded qUwrZBwX
-m, --mapping_fp
The sample metdata mapping file
Pure Boutique Bags Womens BARLEY Handle Leather Color Top Yellow Pu Handbag Tote XIN 1qEYUxBnYw
--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]
Hobo Family Love Bags Shoulder Handbags Women Capacity Tote Black Black Fashion Cactus Bags Large Handbags Canvas Y5Iw5q
--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
Mini Bag Vintage F29356 Coach Pink Minnie X Black Disney Bennett Mouse Leather xwwIqaZFRS
American Chocolate Carry West Concealed Purse Shoulder Handbag Leather Hobo Holder Bundle OOwrq8Z

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