# Use the rank norm transformation on specificity
rNorm <- function(ctdIN,
as_sparse = TRUE,
verbose = TRUE) {
spec <- apply(ctdIN$specificity, 2, RNOmni::RankNorm)
ctdIN$specificity <- to_sparse_matrix(
exp = spec,
as_sparse = as_sparse,
verbose = verbose
)
return(ctdIN)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.