Setting the specified type in attribute removed
to NULL
unremove_all.Rd
unremove_all()
set all the metabolites from the specified type as not
removed.
Arguments
- dat
a
raw_data
object. Output ofread_data()
function.- type
a character string indicating the type from which to unremove all metabolites.
Examples
path <- get_example_data("small_biocrates_example.xls")
test_dat <- read_data(path)
test_dat <- remove_metabolites(test_dat, "C0", "LOD")
attr(test_dat, "removed")
#> $LOD
#> [1] "C0"
#>
#> $QC
#> NULL
#>
#> $QC_man
#> NULL
#>
attr(unremove_all(test_dat, "LOD"), "removed")
#> $LOD
#> NULL
#>
#> $QC
#> NULL
#>
#> $QC_man
#> NULL
#>