discoParseMeta | R Documentation |
Parses the sample metadata from a vector of sample names (often column names of a Maindata format data.frame).
discoParseMeta(samplenames, shinySession = NULL)
samplenames |
character, a list of sample names following the DiscoRhythm naming convention (<prefix><Time>_<UniqueID>_<ReplicateID>). |
shinySession |
shiny session object for use only by the DiscoRhythm
shiny app |
The regular expression used to obtain metadata is "^([[:alpha:]]*)(\-?[0-9]+[\.]?[0-9]*)\_? ([[:alnum:]\.]*)\_?([[:alnum:]\.]*)$"
Where each () will be used to construct the final metadata data.frame
a data.frame containing 3 columns of metadata. ID = unique sample identity. Time = sample colleciton time. ReplicateID = Identifier where Time + ReplicateID indicates a biological sample ID.
discoParseMeta(c("CT24_AD_1","CT24_AS_1","CT24_AE_2","CT24_AW_2", "CT26_AB_1","CT26_AC_1","CT26_BB_2","CT26_BC_2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.