Pull out the pseudomarker that is closest to the position of each of a series of genes.
An object of class
A physical map of the markers in
A data frame specifying the physical locations of the genes.
There should be two columns,
Indicates whether to pull pseudomarkers from the genotype
probabilities (produced by
We first convert positions (by interpolation) from those contained within
cross to physical coordinates contained in
pmap. We then use
find.pseudomarker to identify the closest pseudomarker to
each gene location.
We also include the positions of the pseudomarkers, and we print a warning message if pseudomarkers are > 2 Mbp from the respective gene.
A data frame with columns
chr (the chromosome) and
pmark (the name of the pseudomarker). The third column
contains the Mbp position of the pseudomarker. The final column is the
signed distance between the gene and the pseudomarker. The rownames
indicate the gene names.
Karl W Broman, [email protected]
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.