transform {cytominer} | R Documentation |
Transform observation variables.
Description
transform
transforms observation variables based on the specified transformation method.
Usage
transform(population, variables, operation = "generalized_log", ...)
Arguments
population |
tbl with grouping (metadata) and observation variables. |
variables |
character vector specifying observation variables. |
operation |
optional character string specifying method for transform. This must be one of the strings |
... |
arguments passed to transformation operation. |
Value
transformed data of the same class as population
.
Examples
population <- tibble::tibble(
Metadata_Well = c("A01", "A02", "B01", "B02"),
Intensity_DNA = c(8, 20, 12, 32)
)
variables <- c("Intensity_DNA")
transform(population, variables, operation = "generalized_log")
[Package cytominer version 0.2.2 Index]