ezDesignFromDataset | R Documentation |
Gets the design from the dataset or parameters, if specified.
ezDesignFromDataset(dataset, param = NULL)
ezConditionsFromDesign(design, maxFactors = 2)
ezConditionsFromDataset(dataset, param = NULL, maxFactors = 2)
addReplicate(x, sep = "_", repLabels = 1:length(x))
dataset |
a data.frame from the meta field of an EzDataset. |
param |
a list of parameters to specify the factors directly using |
Returns the factorial design of the dataset.
ezConditionsFromDesign
: Gets the conditions from the design. Use maxFactors
to limit the amount of factors.
ezConditionsFromDataset
: A wrapper to get the conditions directly from the dataset.
addReplicate
: add a replicate id to make values unique
Rehrauer, Hubert
Schmid, Peter
file = system.file("extdata/yeast_10k/dataset.tsv", package="ezRun", mustWork = TRUE)
ds = EzDataset$new(file=file, dataRoot=NULL)
design = ezDesignFromDataset(ds$meta)
cond = ezConditionsFromDesign(design)
addReplicate(apply(design, 1, paste, collapse="_"))
addReplicate(cond)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.