Fork me on GitHub

add-pseudocount: Add pseudocount to tableΒΆ

Docstring:

Usage: qiime composition add-pseudocount [OPTIONS]

  Increment all counts in table by pseudocount.

Options:
  --i-table ARTIFACT PATH FeatureTable[Frequency]
                                  The feature table to which pseudocounts
                                  should be added.  [required]
  --p-pseudocount INTEGER         The value to add to all counts in the
                                  feature table.  [default: 1]
  --o-composition-table ARTIFACT PATH FeatureTable[Composition]
                                  The resulting feature table.  [required if
                                  not passing --output-dir]
  --output-dir DIRECTORY          Output unspecified results to a directory
  --cmd-config FILE               Use config file for command options
  --verbose                       Display verbose output to stdout and/or
                                  stderr during execution of this action.
                                  [default: False]
  --quiet                         Silence output if execution is successful
                                  (silence is golden).  [default: False]
  --citations                     Show citations and exit.
  --help                          Show this message and exit.

Import:

from qiime2.plugins.composition.methods import add_pseudocount

Docstring:

Add pseudocount to table

Increment all counts in table by pseudocount.

Parameters
----------
table : FeatureTable[Frequency]
    The feature table to which pseudocounts should be added.
pseudocount : Int, optional
    The value to add to all counts in the feature table.

Returns
-------
composition_table : FeatureTable[Composition]
    The resulting feature table.