Description Format Details Active bindings Methods Author(s)
Handles file names for the pguIMP shiny web interface.
R6::R6Class object.
The class stores filenames and upload specifications for the pguIMP shiny web interface in its instance variables. This object is used by the shiny based gui and is not for use in individual R-scripts!
uploadFileNameReturns the instance variable uploadFileName (character)
fileNameReturns the instance variable fileName (character)
baseNameReturns the instance variable baseName (character)
folderNameReturns the instance variable folderName (character)
suffixReturns the instance variable suffix (character)
exportSuffixReturns the instance variable exportSuffix (character)
timeStringReturns the instance variable timeString (character)
sheetIndexReturns the instance variable sheetIndex (numeric)
separatorReturns the instance variable separator (character)
skipRowsReturns the instance variable skipRows (numeric)
columnNamesReturns the instance variable columnNames (logical)
naCharReturns the instance variable naChar (character)
new()Clears the heap and
indicates that instance of pgu.file is removed from heap.
Splits fileName and writes the results in the class' instance variables folderName, baseName, suffix.
Stores the current system time into the instance variable timeString.
Creates and returns a new object of type pgu.file.
pgu.file$new( uploadFileName = "", fileName = "", sheetIndex = 1, separator = ",", skipRows = 0, columnNames = TRUE, naChar = "NA" )
uploadFileNameName of uploaded file. (string)
fileNameActual file name. (string)
sheetIndexIndex excel sheet to import. (integer)
separatorCharacter for column separation. (character)
skipRowsNumber of rows to skip. (integer)
columnNamesIndicates if the data source file has a columnNames. (logical)
naCharCharacter for missing values. (string)
A new pgu.file object. (pguIMP::pgu.file)
print()Prints the instance variables of the object.
pgu.file$print()
string
reset()Resets the instance variables of the object.
pgu.file$reset( uploadFileName = "", fileName = "", sheetIndex = 1, separator = ",", skipRows = 0, columnNames = TRUE, naChar = "NA" )
uploadFileNameName of uploaded file. (string)
fileNameActual file name. (string)
sheetIndexIndex excel sheet to import. (integer)
separatorCharacter for column separation. (character)
skipRowsNumber of rows to skip. (integer)
columnNamesIndicates if the data source file has a columnNames. (logical)
naCharCharacter for missing values. (string)
fit()Extracts information about upload specifications from the instance variables.
pgu.file$fit()
predict()Predicts an export file name.
pgu.file$predict(affix = "analysis")
affixUser dedined file name affix. (string)
A file name. (string)
fit_predict()Extracts information about upload specifications from the instance variables and predicts an export file name.
pgu.file$fit_predict(affix = "analysis")
affixUser dedined file name affix. (string)
A file name. (string)
clone()The objects of this class are cloneable with this method.
pgu.file$clone(deep = FALSE)
deepWhether to make a deep clone.
Sebastian Malkusch, malkusch@med.uni-frankfurt.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.