admix.cli.admix_grm_merge#

admix.cli.admix_grm_merge(prefix: str, out_prefix: str, n_part: int = 22) None[source]#

Merge multiple GRM matrices

Parameters:
  • prefix (str) – Prefix of the GRM files, any files with the pattern of <prefix>.* will be merged

  • out_prefix (str) – Prefix of the output file

  • n_part (int, optional) – Number of partitions, by default 22

Returns:

  • GRM files ({out_prefix}.[K1, K2].[grm.bin | grm.id | grm.n] will be generated)

  • Weight file ({out_prefix}.weight.tsv will be generated)