control_normalize(
log = TRUE,
lib_sizes = NULL,
prior_count = 1,
fit_type = "parametric"
)
(flag
)
whether log2
values are returned, otherwise original scale is used.
(NULL
or counts
)
library sizes, if NULL
the vector with the sum of the
counts for each of the samples will be used.
(non-negative number
)
average count to be added to each observation to
avoid taking log of zero, used only when log = TRUE
.
(string
)
method to estimate dispersion parameters
in Negative Binomial model, used only when normalize()
methods include vst
and/or rlog
.
See estimateDispersions
for details.
List with the above settings used to perform the normalization procedure.
To be used with the normalize()
function.
control_normalize()
#> $log
#> [1] TRUE
#>
#> $lib_sizes
#> NULL
#>
#> $prior_count
#> [1] 1
#>
#> $fit_type
#> [1] "parametric"
#>
control_normalize(log = FALSE, lib_sizes = rep(1e6L, 20))
#> $log
#> [1] FALSE
#>
#> $lib_sizes
#> [1] 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000
#> [10] 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000
#> [19] 1000000 1000000
#>
#> $prior_count
#> [1] 1
#>
#> $fit_type
#> [1] "parametric"
#>