View source: R/prep_SampleList.r
exportSampleList | R Documentation |
Creates and exports the randomized sample list to file.
exportSampleList(
multiplyRows = FALSE,
rnd = TRUE,
md = getmd(),
showFirstRows = TRUE,
timeEstimate = FALSE
)
esl(
multiplyRows = FALSE,
rnd = TRUE,
md = getmd(),
showFirstRows = TRUE,
timeEstimate = FALSE
)
multiplyRows |
Logical, defaults to
Please also refer to |
rnd |
Logical, if the sample list should be randomized or not, defaults to TRUE. (Having a non-randomized sample list can be interesting to check the correctness of the sample list when designing the experiment. |
md |
An object of class |
showFirstRows |
Logical. If the first rows of the sample list should be displayed. |
timeEstimate |
Logical. If time estimates should be displayed. |
The exclusive format for the sample list is xlsx. When the appropriate values at the bottom of the settings.r file are provided, an approximate time estimate of how long it will take to work through the sample list is given.
An (invisible) data frame with a (randomized) sample list resp. this list saved to a file.
You can provide your own values for how many seconds you need for a single scan etc. at the bottom of the settings.r file to make the time estimate valid.
Other Import-Export:
sampleList_multiplyRows()
Other Core functions:
gdmm()
,
getFullData()
,
plot,aquap_cube,missing-method
,
plot,aquap_data,missing-method
## Not run:
metadata <- getmd()
sl <- exportSampleList(metadata)
sl <- esl() # is the same as above
sl <- esl(md=getmd("myMetadataFile.r"), form="txt", showFirstRows=FALSE)
# this would load the metadata from the file "myMetadataFile.r" and generate
# a sample list based on these metadata. This would be a rare case, as usually
# in an experiment home-folder you will have probably only one metadata file
# but several analysis procedure files.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.