Mercurial > repos > iuc > charts
view boxplot.r @ 1:344ac3ca7557 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/charts/ commit 4494db13b69987fbc97d47177d2a5956e46e927b"
author | iuc |
---|---|
date | Wed, 17 Nov 2021 09:06:59 +0000 |
parents | a87a3773d8ed |
children |
line wrap: on
line source
wrapper <- function(table, columns, options) { # initialize output list l <- list() # loop through all columns for (key in names(columns)) { # load column data column <- as.numeric(columns[key]) column_data <- suppressWarnings(as.numeric(as.character(table[column][[1]]))) # create hist data data <- boxplot(column_data, plot = FALSE) # collect vectors in list l <- append(l, list(data$stats)) } # return return(l) }