set_tech_failure(object, sample_ids)
(AnyHermesData
)
input.
(character
)
sample IDs to be flagged as technical failures.
AnyHermesData
object with modified technical failure flags.
add_quality_flags()
which automatically sets all (gene and sample) quality flags,
including these technical failure flags.
# Manually flag technical failures in a `AnyHermesData` object.
object <- hermes_data
get_tech_failure(object)["06520101B0017R"]
#> 06520101B0017R
#> FALSE
result <- set_tech_failure(object, c("06520101B0017R", "06520047C0017R"))
get_tech_failure(result)["06520101B0017R"]
#> 06520101B0017R
#> TRUE