filter_summary {mpactr} | R Documentation |
filter_summary()
is a wrapper function to return the summary
from a single filter within the given mpactr object.
filter_summary(mpactr_object, filter, group = NULL)
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. |
a list
reporting 1) compound ids for compounds which failed
the filter and 2) compound ids for compounds which passed the filter.
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