filter_summary {mpactr}R Documentation

Return the summary for a single mpactr filter.

Description

filter_summary() is a wrapper function to return the summary from a single filter within the given mpactr object.

Usage

filter_summary(mpactr_object, filter, group = NULL)

Arguments

mpactr_object

The mpactr object that is created by calling the import_data() function.

filter

The name of a filter whose summary is to be extracted. Must be one of: "mispicked", "group", "replicability", or "insource".

group

If filter = "group", the name of the Biological_Group used to filter.

Value

a list reporting 1) compound ids for compounds which failed the filter and 2) compound ids for compounds which passed the filter.

Examples

data <- import_data(example("coculture_peak_table.csv"),
  example("metadata.csv"),
  format = "Progenesis"
)

data_filter <- filter_mispicked_ions(data)

mispicked_summary <- filter_summary(data_filter, filter = "mispicked")
mispicked_summary


[Package mpactr version 0.1.0 Index]