#' No Description.
trans.counts <- function(data){
x.trans <- data
for (j in 1:ncol(data)){
x.trans[,j] <- ifelse(data[,j]>0, log(data[,j]), log(0.1))
}
return(x.trans)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.