Sample IDs need to be uniquely assigned to samples. This function checks if a sample ID is assigned to two or more different samples. Similarly, the marker labels need to be uniquely defined. This function is also used to check forbidden marker label repetitions.
moi_duplicatefinder(total, sam_mark, nummtd, rw_col)
a warning which informs the user of forbidden repetition of sample ID's or marker labels.
string vector; vector of sample IDs.
string; a string which is either "Sample ID" or "Marker".
numeric; number of metadata columns plus 2.
string vector; variable used to switch
between row and column in case of transposed data.
Namely, c("rows ", "row ", "column ", "columns
")
.
For further details see: moimport
moi_labels
.