Skip to contents

unremove_all() set all the metabolites from the specified type as not removed.

Usage

unremove_all(dat, type)

Arguments

dat

a raw_data object. Output of read_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
#>