Description Usage Arguments Value Author(s) Examples
View source: R/readCSVDataFrame.R
If each of the given filenames are of the form "<PlateName>_<WellName>_Amplitude.csv", where <WellName> is of the form A01, B01, etc., then this function can extract the <WellName> component. Otherwise, the whole file name is assumed to be the well name.
1 | extractWellNames(filenames)
|
filenames |
A character vector of filenames with .csv extension. |
A character vector of well names.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
1 2 3 4 5 6 7 8 9 10 11 | ## Get the well names (recognised format).
extractWellNames(c("Sample_Plate_Name_G02_Amplitude.csv",
"Sample_Plate_Name_H02_Amplitude.csv",
"Sample_Plate_Name_A03_Amplitude.csv",
"Sample_Plate_Name_B03_Amplitude.csv"))
## Get the well names (unrecognised format).
extractWellNames(c("Sample_G02.csv",
"Sample_H02.csv",
"Sample_A03.csv",
"Sample_B03.csv"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.