readdesign | R Documentation |
Creates a dataframe with the design.
readdesign(design = designfile, designtype = NULL, destype = NULL)
design |
The path to a design file |
designtype |
Is it a design created with ngene, spdesign or idefix. use 'ngene', 'spdesign' or 'idefix. Ngene designs should be stored as the standard .ngd output. spdesign should be the spdesign object stored as an RDS file. Idefix objects should also be stored as an RDS file. If designtype is not specified, I try to guess what it is. This is especially helpful if you want to carry out a simulation for both spdesign designs and ngene designs at the same time. |
destype |
Deprecated. Use designtype instead. |
a dataframe
library(simulateDCE)
mydesign <- readdesign(
system.file("extdata", "agora", "altscf_eff.ngd", package = "simulateDCE"),
"ngene"
)
print(mydesign)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.