This function checks a marker matrix selected by
select_markers_for_pairscan
for linear
independence by checking the correlation between
pairs of markers. If any are perfectly correlated,
only one marker from the block of perfect correlation
is kept.
get_linearly_independent(data_obj)
This function returns a list with two elements. independent_markers: A matrix of the markers that are linearly independent. rejected_markers: A vector indicating which markers were removed for violating linear independence.
a Cape
object