This function is activated when the data is of 'One row per sample, one column per marker' format. In such a dataset, the user enters multiple information corresponding to a sample on a marker in one cell and separates the items with a symbol (punctuation character). It is expected that user be consistent with usage of symbol. Otherwise this function addresses the inconsistencies with a warning.
moi_separator(set_d, nummtd, cha, rw_col, nwsh, multsh)
a warning is generated reporting inconsistencies in usage of separator.
data frame; imported dataset.
numeric; number of metadata columns plus 2.
string vector; vector of punctuation
characters. See moi_prerequisite
.
string vector; variable used to switch
between row and column in case of transposed data.
Namely, c("rows ", "row ", "column ", "columns
")
.
numeric; worksheet number in multiple worksheet dataset.
string; reports warnings for multiple worksheet datasets.
For further details see: moimport
.