Description Usage Arguments Value Author(s) Examples
Caculate the portion matrix of each stock from the 'dim', and call the new(Design8Vertex)
1 | design8Vertex(volume, stock, dim)
|
volume |
numeric, for volume of each well in matrix block |
stock |
dataframe, the composition of each stock (8 stock in the 8-vertex design) |
dim |
list of three vectors, the dilution of stock 1 in 3 dimensions: 6X4X4 |
new object of Design8Vertex class
Qingan Sun, Xiaojun Li
1 2 3 4 5 6 7 8 9 10 | # set the stock with 3 variables: PEG concentration, pH, and salt concentration
stock<-matrix(nrow=8,ncol=3)
colnames(stock)<-c("PEG","pH","salt")
stock[,1]<-rep(c(6,16),4)
stock[,2]<-rep(c(8,8,9.5,9.5),2)
stock[,3]<-rep(c(0,300),each=4)
stock<-data.frame(stock)
dim<-list(5:0/5,3:0/3,3:0/3) # the dilution serial of stock1
#call the function and return a new object
test8Vertex<-design8Vertex(900,stock,dim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.