Skip to contents

This function reads .Q matrix files generated by external clustering algorithms (such as ADMIXTURE) and transforms them into gt_admix objects.

Usage

read_q_files(x)

Arguments

x

can be:

  • a path to a directory containing .Q files

Value

  • a gt_admix object containing a list of Q matrices and a list of indices for each Q matrix separated by K