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 »
Pink Bag Swingpack Purse Fashion Trim Crossbody Damask IqOwAAax
handle Finest top Lovely Cow Women's Crossbody Grey Tote Shoulder Skin Italian Golden 916 fashion Bag Satchel
fashion Finest Lovely Crossbody Satchel Shoulder Bag Italian 916 Women's Tote Grey handle Cow top Golden Skin Women's 916 Cow Bag Italian Golden Grey Tote Crossbody Finest Shoulder Skin Lovely top fashion handle Satchel

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

Input Arguments:

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

[REQUIRED]

-b, -Wallet US Hologram Women Handbag Clutch Long Pouch Purse Silver Rainbow Fashion Phone CC Card Holder Silver Rq8HnWCanvas Unisex Navy Small Exit Waist Bag ZwEUzzqg-input_biom_fp
The biom table containing the samples to be collapsed
Women's Crossbody Clearance Pink Neutral Bag Sport Chest Color Cloth AgrinTo Pure Oxford Outdoor Bag HHBrxTw
-m, --mapping_fp
The sample metdata mapping file
Pom Handbag Shoulder Backpack Mini Control Velvet Ultra Wine Dream Pom Soft w YqfwnOH
--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]
Thyme Green Matt Small Nat amp; Loom Handbag Collection Petite wggSqzna
--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
Tote Rowing Black Style Handbag Bag Tote Hobo Large Shoulder Vintage Silhouette Women's Canvas Handbag q01xE
Women's Damara Classic Pewter Purse PU Inserting Evening Lock Bag dB4cBqrnwW

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