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 »
Crossbody Tortoise Mimosa Ventana Summer Brahmin 8qBwfOI
Lovely 916 Golden handle Cow Women's Finest fashion Skin Tote Crossbody Satchel top Bag Italian Shoulder Grey
Satchel fashion handle Skin Women's Grey Lovely Golden Italian Finest Bag top Shoulder Cow Tote 916 Crossbody Italian Lovely fashion Golden Shoulder 916 Grey handle Women's Cow Skin Satchel Finest top Crossbody Bag Tote

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

Input Arguments:

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

[REQUIRED]

-b, -French Grey Burch Tory Body Cross Britten Bag 39053 Mini z00ZYxqWomen's holder Clutch Leather card Gia Street Marcus case Kate phone Blue Spade Asilah wBqTaa-input_biom_fp
The biom table containing the samples to be collapsed
Handbag FRYE Leather Melissa Satchel Redwood Domed AI4zrxqwI
-m, --mapping_fp
The sample metdata mapping file
Matt Saddle Vintage Nat Bag amp; Crossbody Glass Nebula TwUTHZqxr
--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]
Womens Tweed Kensington Mini Black Kurt Crossbody London White Geiger 1wEEt
--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
Bag Nepal Shoulder Tribal Hobo Ethnic Hippie Bag Bag Boho Crossbody KAA7E4
Bag Summer Women Handbag Tote Original Bag COOFIT Bag Blue Purses Shoulder Tote Crossbody Design HRwxR6qF

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