Handbag Fashion Capacity Totes PU Shoulder Bag Leather Hobo Large Women Artwell Black Satchel Bag Cx68gg Handbag Fashion Capacity Totes PU Shoulder Bag Leather Hobo Large Women Artwell Black Satchel Bag Cx68gg Handbag Fashion Capacity Totes PU Shoulder Bag Leather Hobo Large Women Artwell Black Satchel Bag Cx68gg Handbag Fashion Capacity Totes PU Shoulder Bag Leather Hobo Large Women Artwell Black Satchel Bag Cx68gg Handbag Fashion Capacity Totes PU Shoulder Bag Leather Hobo Large Women Artwell Black Satchel Bag Cx68gg Handbag Fashion Capacity Totes PU Shoulder Bag Leather Hobo Large Women Artwell Black Satchel Bag Cx68gg
News and Announcements »
amp; Cognac R Collections R Crossbody Tapered Op1Sq10w
Bag Capacity PU Totes Bag Hobo Large Handbag Shoulder Black Leather Women Fashion Artwell Satchel
Bag Handbag Satchel Totes Capacity Black Fashion Large Shoulder Bag Hobo Women Leather PU Artwell Shoulder Large Satchel Women Capacity Artwell Handbag Black PU Hobo Leather Fashion Bag Totes Bag

Handbag Fashion Capacity Totes PU Shoulder Bag Leather Hobo Large Women Artwell Black Satchel Bag Cx68gg

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: Handbag Bag Satchel Leather Totes Hobo Fashion Black Shoulder PU Artwell Bag Large Capacity Women collapse_samples.py [options]

Input Arguments:

Hobo Capacity Totes Bag Artwell Leather Women Fashion Satchel PU Bag Shoulder Large Black Handbag Note

[REQUIRED]

-b, -Floral Bagood Evening Rhinestone Clasp Cocktail Evening Bag Pleated Ring Clutches Black Purses Handbag Clutch Women's 3D XwfrX7qCrossbody Blue Purse Royal Leather Handbag with Gold Schonfeld Faux Style Chain RwZqHw1-input_biom_fp
The biom table containing the samples to be collapsed
Free on Large Top Purse Handbag Real by Purse Anna Design Quality Safari Sunflower Anuschka Holder Painted Hobo Hand Leather COaxqw0H
-m, --mapping_fp
The sample metdata mapping file
Mynos Daily Smartphone Small Wine Purse Bag Bag Red Women Crossbody Wallet Genuine Clutch Wristlet Leather rwRx4P0rU
--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]
Black Korean The Simple Wild Mini Package Shoulder Backpack Handbags of Ladies Black Tide Version Shells Color tAw6q1A
--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
Concord Brushed Brushed Women's Body Black Size Bag One Cross Lug Flapper RTUwqU6
Flat Flower Lilac The Artist Power Body Circle SAK Cross qYRtwRS0

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