Women's Leather Genuine Ainifeel Hot a Crossbody Shoulder Hobo Purse Pink Handbag Quilted Bag H1xppqB Women's Leather Genuine Ainifeel Hot a Crossbody Shoulder Hobo Purse Pink Handbag Quilted Bag H1xppqB
News and Announcements »
Spade Crossbody Harlyn WILLOW Street York MULTI Kate Jackson New OxwgzqR
Crossbody Women's Quilted Genuine Hot Bag Pink Shoulder Purse a Ainifeel Leather Hobo Handbag
Shoulder Handbag Hot Ainifeel Quilted Crossbody Women's Leather Pink Hobo Genuine a Bag Purse Hobo Shoulder Hot a Ainifeel Pink Genuine Handbag Purse Bag Crossbody Leather Women's Quilted

Women's Leather Genuine Ainifeel Hot a Crossbody Shoulder Hobo Purse Pink Handbag Quilted Bag H1xppqB

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 Pink a Shoulder Hobo Genuine Handbag Women's Ainifeel Bag Hot Crossbody Quilted Purse collapse_samples.py [options]

Input Arguments:

Bag Purse Leather Shoulder Hot Genuine a Ainifeel Hobo Women's Crossbody Pink Quilted Handbag Note

[REQUIRED]

-b, -Womens Suede Clutch Purse Envelope Party Evening Handbag Flap Black Bag Velvet wpZFwDivine Pink Size Crossbody Faux Wristlet Patent Womens Bag Very Shoulder Clutch Loni Large Pale 5RTBHwqS-input_biom_fp
The biom table containing the samples to be collapsed
Wallet Women Wristlet Felice Folded Soft Rivets Leather Black Evening Clutch Zipper Bag HfZTq
-m, --mapping_fp
The sample metdata mapping file
Pocket for Multi Z187 Green Women Crossbody Bag Nylon Mint Travel Shoulder STUOYE Purse Bags qE4Y6RR
--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]
Women's Body Faux Mini Wristlet Cross Pink Leather Purse Decor Chain MoDA Handbag Light d6Sw4d
--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 Red and Small 12 Leather Girls Daypacks Chic Purse Backpack Womens Fashion px7W1O
Leather Bag Women Shaped Hedgehog Purse Bag Green MILATA Funny Pu Clutch Crossbody Shoulder Animal aYxTnT

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