make_snp_marker_ids: Make SNP marker IDs for loci.

Description Usage Arguments Value Author(s)

View source: R/internal.R

Description

This function creates SNP marker IDs from locus data.frame 'loc'.

Usage

1
make_snp_marker_ids(loc, max.seqlength = NULL)

Arguments

loc

Locus data.frame, with columns 'chr' and 'pos', specifying physical map positions in base-pair units.

max.seqlength

Maximum expected sequence length. This determines the width to which SNP positions are zero-padded. By default, this is the maximum position in the input data.frame.

Value

Character vector of SNP marker IDs.

Author(s)

Thomas A. Walsh

Yue Hu


gact/utl documentation built on June 1, 2021, 4:24 p.m.