Arguments
- object
(
AnyHermesData
)
input.- sample_ids
(
character
)
sample IDs to be flagged as technical failures.
Value
AnyHermesData
object with modified technical failure flags.
See also
add_quality_flags()
which automatically sets all (gene and sample) quality flags,
including these technical failure flags.
Examples
# 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