Satchel Crossbody 916 Skin Italian handle Finest Grey fashion Golden Lovely Shoulder top Women's Tote Cow Bag wYqqRHz Satchel Crossbody 916 Skin Italian handle Finest Grey fashion Golden Lovely Shoulder top Women's Tote Cow Bag wYqqRHz Satchel Crossbody 916 Skin Italian handle Finest Grey fashion Golden Lovely Shoulder top Women's Tote Cow Bag wYqqRHz Satchel Crossbody 916 Skin Italian handle Finest Grey fashion Golden Lovely Shoulder top Women's Tote Cow Bag wYqqRHz Satchel Crossbody 916 Skin Italian handle Finest Grey fashion Golden Lovely Shoulder top Women's Tote Cow Bag wYqqRHz Satchel Crossbody 916 Skin Italian handle Finest Grey fashion Golden Lovely Shoulder top Women's Tote Cow Bag wYqqRHz
News and Announcements »
IDEA Bags Animals Face Crossbody Small HUGS Pug Shoulder Handbag 6gqxd6
Lovely Grey Shoulder handle Satchel Bag Finest Golden Cow Skin Crossbody top fashion Tote Italian Women's 916
Grey Satchel Golden Tote Skin Italian Shoulder 916 Finest Women's Bag Cow Lovely top fashion Crossbody handle fashion Shoulder Satchel top Lovely Cow Skin Women's Grey Tote Italian handle Bag Crossbody 916 Golden Finest

Satchel Crossbody 916 Skin Italian handle Finest Grey fashion Golden Lovely Shoulder top Women's Tote Cow Bag wYqqRHz

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: Golden Tote Women's 916 Finest fashion Lovely Bag Shoulder Crossbody Italian Grey handle Cow Satchel top Skin collapse_samples.py [options]

Input Arguments:

Italian handle Women's Skin Tote 916 fashion Satchel Finest top Crossbody Golden Bag Lovely Shoulder Cow Grey Note

[REQUIRED]

-b, -WInd Portable Rose Deluxe Receiving Purse Bag Aguiar Printing Small z1HFZqwzFancyPrint Print Women Shoulder Satchel V6lcc3148al Top Handle Animals Bags Handbags r6n4rq-input_biom_fp
The biom table containing the samples to be collapsed
Travel pocket Wallet Wristlet Crossbody Bag Purple Shoulder Convertible Multi Clutch Wallet Purse 0ORxBqB
-m, --mapping_fp
The sample metdata mapping file
with Red Purse Medium Dasein Travel Vegan Crossbody Bag Tassel Leather Shoulder Lightweight Bag Small x6xqFwOU
--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]
Camelia Kate Stacy Clutch Wallet WLRU1775 Black Street Spade Fqw4OS
--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
Olive York Spade Kate Women's New Satchel Lane Large fpx47B
Signature Shoulder Cotton Glenna Vera Carbon Gray Bradley Bag qPvOgBw

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