#'shorten the sample names
#'
#'@params data - your working count data
#'
#
short_name <- function(data) {
if(is.data.frame(data) == FALSE) {
return("not a dataframe")
}
colnames(data) <- substr(colnames(data),start=1,stop=7)
return(data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.