get_linearly_independent: Check selected markers for linear independence.

Description Usage Arguments Value

View source: R/get_linearly_independent.R

Description

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.

Usage

1

Arguments

data_obj

a Cape object

Value

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.


cape documentation built on Feb. 10, 2021, 5:06 p.m.