calc.maxmin.Rd
calculate max or min of subset of a matrix
calc.maxmin(r2, L1, L2 = L1, fun = max)
matrix, with row/column names which are members of L1, L2
first list of vectors of snps
second list vectors of snps
max or min, but could be another function that returns a scalar. unquoted.
smaller matrix indexed by elements of L1 (rows) and L2 (columns)