Skip to contents

Import an existing per-chromosome reference panel

Usage

niptmer_ref_import(
  chr_list_dir,
  chr_ids = c(as.character(seq_len(22L)), "X", "Y"),
  k = 25,
  genome_build = "GRCh37",
  suffix_candidates = NULL
)

Arguments

chr_list_dir

Directory containing chromosome list files.

chr_ids

Chromosome identifiers to import.

k

K-mer size.

genome_build

Optional genome build label.

suffix_candidates

Candidate filename suffixes. The function picks the first existing match for each chromosome.

Value

A niptmer_ref_panel object.