#'filtering out the lowly expressed genes and give a summary.
#'
#'@params data - countdata
#'@params thresholda below 0.5
#'
#
Filter_low_counts <- function(data) {
if(is.data.frame(data) == FALSE) {
return("not a dataframe")
}
data_cpm <- cpm(data)
threshold <- data_cpm > 0.5
threshold <- summary(threshold)
return(threshold)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.