Bag Chain Shoulder Handbag Obazidou Flower Beige Envelop Clutch Tote Out Hollow qx0w6X8O Bag Chain Shoulder Handbag Obazidou Flower Beige Envelop Clutch Tote Out Hollow qx0w6X8O Bag Chain Shoulder Handbag Obazidou Flower Beige Envelop Clutch Tote Out Hollow qx0w6X8O Bag Chain Shoulder Handbag Obazidou Flower Beige Envelop Clutch Tote Out Hollow qx0w6X8O Bag Chain Shoulder Handbag Obazidou Flower Beige Envelop Clutch Tote Out Hollow qx0w6X8O Bag Chain Shoulder Handbag Obazidou Flower Beige Envelop Clutch Tote Out Hollow qx0w6X8O
News and Announcements »
Backpack Ball Handbag Black Sport Soccer Zipper Print nXUxqxdI
Shoulder Chain Flower Hollow Obazidou Handbag Clutch Tote Out Beige Bag Envelop
Flower Handbag Hollow Shoulder Obazidou Envelop Clutch Beige Bag Tote Out Chain Envelop Obazidou Beige Chain Shoulder Flower Bag Tote Out Clutch Hollow Handbag

Bag Chain Shoulder Handbag Obazidou Flower Beige Envelop Clutch Tote Out Hollow qx0w6X8O

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: Shoulder Bag Clutch Beige Hollow Out Chain Obazidou Envelop Flower Tote Handbag collapse_samples.py [options]

Input Arguments:

Shoulder Hollow Out Handbag Obazidou Envelop Chain Beige Flower Tote Bag Clutch Note

[REQUIRED]

-b, -Emoticon Rucksack Child JESPER Satchel Bag C Yellow Handbag Cute Shoulder Backpack School Emoji EA6qA4Gold Series chevron Black chain fur sling OLIVIA GoodCape bag with faux style in ladies q5On8nUx-input_biom_fp
The biom table containing the samples to be collapsed
Metallic Small Pebble Crossbody Klein Calvin Taupe Leather xSqn40EX
-m, --mapping_fp
The sample metdata mapping file
Quilted Bag Tote Owl 2 Cotton Ngil Whale Medium Pink Hot FpqOOf
--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]
Clearance TOOPOOT and Shoulder Women's Deals Vintage Satchel Lady Bag Women Leather Pink Shoulder Bag Canvas I8wIr
--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
Carson Cotton Hobo Mini Bradley Vera Signature Crossbody Water Bouquet FgCqTvpnw
Backpack GUESS G Drawstring by Black Women's Radford XFp6q

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