span_by_chrom: Calculate the length of each chrom, optionally subtract the...

Description Usage Arguments Value

Description

Calculate the length of each chrom, optionally subtract the min position from it

Usage

1
span_by_chrom(snp_chrom, snp_pos, diff = FALSE)

Arguments

snp_chrom

a factor vector inidicating the chrom of each marker

snp_pos

a vector with the position of each snp on its chrom

Value

a vector of span distances


DiDeoxy/PGDA documentation built on June 19, 2020, 5:38 a.m.