Filter peaks.

filter_peaks(
  object,
  min.fraction = 0.5,
  type = c("any", "all"),
  min.subject.blank.ratio = 2,
  dl.qc.r2.cutoff = 0.7,
  according.to = c("class", "group"),
  which.group
)

Arguments

object

A metflowClass object.

min.fraction

Peaks minimum fraction in samples (which.group).

type

Any ("any") or all ("all") groups should be meet this min.fraction.

min.subject.blank.ratio

Peak intensity ratio in subject and blank samples. If you set it < 1, no peaks will be removed.

dl.qc.r2.cutoff

R2 cutoff for dilution QC. If you set it < 0, no peaks will be removed.

according.to

Which information you want to use in sample information.

which.group

What groups you want to use.

Value

A new metflowClass object.

Author

Xiaotao Shen shenxt1990@163.com