View source: R/genome_functions.R
find_proxmarkers | R Documentation |
Finds the position of markers near a particular locus. By default, the function returns the flanking markers, however markers within a certain range can also be returned.
find_proxmarkers(genome, marker, ..., include.qtl = FALSE)
genome |
An object of class |
marker |
See |
... |
Additional arguments. Markers within a position range of |
include.qtl |
Logical. Should QTL be included in the results? If FALSE, the genome should have a genetic model. |
ignore.gen.model |
Logical - should the gene model be ignored? |
# Simulate the genome
n.mar <- c(505, 505, 505)
len <- c(120, 130, 140)
genome <- sim_genome(len, n.mar)
# Sample marker names to lookup
sample_markers <- sample(markernames(genome, include.qtl = TRUE), size = 3)
find_proxmarkers(genome = genome, marker = sample_markers, include.qtl = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.