snps.Rd
A dataset containing the positions, genetic distances and alleles for 20 SNPs, across 10 simulated chromosomes.
snps
A data frame with 20 rows and 12 variables:
location of the SNP on the chromosome e.g. in base pairs
genetic distance of the SNP from the start of the chromosome e.g. in centimorgans
allele of the SNP on the first example chromosome
allele of the SNP on the second example chromosome
allele of the SNP on the third example chromosome
allele of the SNP on the fourth example chromosome
allele of the SNP on the fifth example chromosome
allele of the SNP on the sixth example chromosome
allele of the SNP on the seventh example chromosome
allele of the SNP on the eighth example chromosome
allele of the SNP on the ninth example chromosome
allele of the SNP on the tenth example chromosome
snps#> bp_positions cM_distances chrom_1 chrom_2 chrom_3 chrom_4 chrom_5 chrom_6 #> 1 100 0.0001 1 0 0 1 1 1 #> 2 200 0.0002 1 1 1 0 0 0 #> 3 300 0.0005 1 1 1 1 1 1 #> 4 400 0.0008 0 0 1 1 1 0 #> 5 500 0.0010 1 1 1 1 0 1 #> 6 600 0.0015 1 0 0 1 1 0 #> 7 700 0.0017 1 0 0 1 1 1 #> 8 800 0.0019 0 0 0 0 1 1 #> 9 900 0.0023 1 1 0 0 1 1 #> 10 1000 0.0024 0 0 1 1 0 0 #> 11 1100 0.0026 1 0 1 0 0 0 #> 12 1200 0.0027 1 0 1 0 1 0 #> 13 1300 0.0032 1 1 1 1 0 0 #> 14 1400 0.0037 1 0 1 0 1 0 #> 15 1500 0.0039 0 0 1 0 1 0 #> 16 1600 0.0040 1 0 0 0 0 1 #> 17 1700 0.0041 0 0 0 1 0 1 #> 18 1800 0.0045 1 0 1 0 0 0 #> 19 1900 0.0048 1 0 0 1 1 1 #> 20 2000 0.0049 0 1 1 0 0 1 #> chrom_7 chrom_8 chrom_9 chrom_10 #> 1 0 0 0 0 #> 2 1 0 1 0 #> 3 1 1 0 1 #> 4 1 1 0 0 #> 5 0 0 1 0 #> 6 1 0 0 1 #> 7 1 1 1 0 #> 8 1 1 0 1 #> 9 0 0 1 1 #> 10 1 1 1 1 #> 11 0 0 1 0 #> 12 0 1 1 1 #> 13 1 1 1 0 #> 14 0 1 0 1 #> 15 0 1 1 0 #> 16 1 1 0 1 #> 17 1 1 0 1 #> 18 1 1 1 0 #> 19 0 0 0 1 #> 20 1 0 0 1