reassign_populations: Reassigns already assigned populations according to new...

View source: R/pop_assign.R

reassign_populationsR Documentation

Reassigns already assigned populations according to new thresholds

Description

Reassigns already assigned populations according to new thresholds

Usage

reassign_populations(distance_matrix, abs_threshold, rel_threshold)

Arguments

distance_matrix

distance matrix dataframe created by assign_populations() function

abs_threshold

sample's minimum distance to any reference population should be less than this threshold to be assigned to population

rel_threshold

sample's minimum distance to any reference population should be rel_threshold times smaller than second minimum distanceto be assigned to population

Author(s)

Nurlan Kerimov


kauralasoo/eQTLUtils documentation built on March 12, 2023, 8:50 p.m.