Learn R Programming

reGenotyper (version 1.2.0)

genotype: Example genotype data

Description

genotype: example data of genotype for each marker (rownames) and 60 strains such as recombinant inbred lines (RIL) (columnnames), with numeric values 1 and 0 (or A and B). In total there are 5 chromosomes with 20cM in length for each chromosome. In each chromosome, 20 markers are evenly distributed on each chromosome. As an example, 10 percent (=6) samples were added as mislabeled sample by swapping.
data(genotype)
genotype[1:5,1:5]
Sample1 Sample2 Sample3 Sample4
Sample5 C1M1 1 0 0
1 0 C1M2 1 0
0 1 0 C1M3 1
0 0 1 0 C1M4
1 0 0 1 0
C1M5 1 0 0 1
0 Sample1 Sample2 Sample3

Usage

data(genotype)

Arguments

Format

genotype: 120 markers by 100 samples.

Examples

Run this code
  ##load the data
  data(genotype)
  
  ##view part of the the data
  genotype[1:5,1:5]

Run the code above in your browser using DataLab