calour.transforming.
normalize_by_subset_features
(exp: calour.experiment.Experiment, features, total=10000, negate=True, inplace=False)[source]¶Normalize each sample by their total sums without a list of features
Normalizes all features (including in the exclude list) by the total sum calculated without the excluded features. This is to alleviate the compositionality in the data set by only keeping the features that you think are not changing across samples.
Note
sum is not identical in all samples after normalization (since also keeps the excluded features)
Note
This function is also available as a class method Experiment.normalize_by_subset_features()
Parameters: |
|
---|---|
Returns: | The normalized experiment |
Return type: |