Description Usage Arguments Value Examples
Plot multiple bar plots based on a single data frame.
1 | multi.barplot(x, grpVar = "plates", varList, main = NULL, ...)
|
x |
A data frame. |
grpVar |
The variable for x-axix. |
varList |
A vector of variables, each will be used as y-axis for the multiple bar plot. |
main |
The overall title of the plot. |
... |
Additinal parameters for the plot function. |
Use the side effect for plot. No return value.
1 2 3 4 5 6 7 8 9 | ## create a random assignment and check it
library("OSAT")
data(example.setup)
set.seed(10)
c1 <- getLayout(gc) # available wells
c1 <- c1[order(runif(nrow(c1))),] # shuffle randomly
ranomSetup <- cbind(pheno, c1[1:nrow(pheno), ]) # create a sample assignment
multi.barplot(ranomSetup, grpVar='plates', varList=c("SampleType", "Race", "AgeGrp"), main="A random case")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.