Function use the raw data for made a boxplot graphic
plot_raw( data, type = "boxplot", x, y, group = NULL, xlab = NULL, ylab = NULL, glab = NULL, ylimits = NULL, xrotation = NULL, legend = "top", xtext = NULL, gtext = NULL, color = TRUE, opt = NULL )
| data | raw data |
|---|---|
| type | Type of graphic. "boxplot" |
| x | Axis x variable |
| y | Axis y variable |
| group | Group variable |
| xlab | Title for the axis x |
| ylab | Title for the axis y |
| glab | Title for the legend |
| ylimits | Limits and break of the y axis c(init, end, brakes) |
| xrotation | Rotation in x axis c(angle, h, v) |
| legend | the position of legends ("none", "left", "right", "bottom", "top", or two-element numeric vector) |
| xtext | Text labels in x axis |
| gtext | Text labels in groups |
| color | Colored figure (TRUE), otherwise black & white (FALSE) |
| opt | Add new layers to the plot |
plot
if (FALSE) { library(inti) library(gsheet) url <- paste0("https://docs.google.com/spreadsheets/d/" , "15r7ZwcZZHbEgltlF6gSFvCTFA-CFzVBWwg3mFlRyKPs/" , "edit#gid=172957346") # browseURL(url) fb <- gsheet2tbl(url) fb %>% plot_raw(type = "boxplot" , x = "geno" , y = "lfa" , group = "treat" , color = T ) }