filter_peaks: Filter peaks according to missing values.

Description Usage Arguments Value Author(s)

View source: R/filter_data.R

Description

Filter peaks.

Usage

1
2
3
4
5
6
7
8
9
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(s)

Xiaotao Shen shenxt1990@163.com


jaspershen/metflow2 documentation built on Aug. 15, 2021, 4:38 p.m.