Description Usage Arguments Value
Calculate the length of each chrom, optionally subtract the min position from it
1 | span_by_chrom(snp_chrom, snp_pos, diff = FALSE)
|
snp_chrom |
a factor vector inidicating the chrom of each marker |
snp_pos |
a vector with the position of each snp on its chrom |
a vector of span distances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.