Skip to contents

The interference is substracted using following formula: $$Value_{Corrected} = Value_{Feature} - Factor_{Contribution} * Value_{Interfering Feature}$$

Usage

correct_interference_manually(
  data,
  variable,
  feature,
  interfering_feature,
  relative_contribution,
  new_feature_name = NULL
)

Arguments

data

MidarExperiment object

variable

Default: Intensity. Name of Variable to be corrected.

feature

Name of feature to be corrected

interfering_feature

Name of feature that is interfering, i.e. contributing to the signal of feature

relative_contribution

Relative portion of the interfering feature to contribute to the feature signal. Must be between 0 and 1.

new_feature_name

Optional. New name of corrected feature. If empty then feature name will not change.

Value

MidarExperiment object