r2Z | R Documentation |
r2Z calculates the Z-values of rate ratios standardized to all rate ratios or a specified normalization subset.
r2Z(r, normsubset, method = "mean")
r |
Character vector. List of rate ratios |
normsubset |
Integer vector. Specify the indices of features that are to be used in standardization |
method |
Character. Specify what method to use for standardization. Options are "median" and "mean". Default = "mean" |
While not strictly required, it is recommended to input
log-transformed rate ratios. Standardization is by default done using the
mean and standard deviation: (r-mean(r))/sd(r)
. By specifying method = "median", it does
so using the median and median absolute deviations: (r-median(r))/mad(r)
.
Returns a numeric vector of the same length as the number of rate ratios
Functions in the CSSA package by default return log-transformed rate ratios. These can directly be used as input for this function.
Jos B. Poell
sumZ
, ess
, noness
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.