This is an internal function to find the column numbers of phenotypes when names are put in instead of column numbers.
get_col_num(data_mat, col_which = NULL, dim_which = 2)
A numeric value indicating the column number corresponding to the name given by col_which. If col_which was a number, col_which is returned.
a matrix with column names
a character string indicating which column should be identified If col_which is numeric the number is returned.
A number indicating whether the algorithm should look in rows (1) or columns (2) for the name.