fine_map | R Documentation |
Visualize haplotype switches for fine mapping
fine_map(data, haplotype, interval, trait = NULL, marker = NULL)
data |
Variable inheriting from class |
haplotype |
Name of parental haplotype |
interval |
2-vector with marker names |
trait |
Name of trait to plot (optional) |
marker |
Optional, marker to indicate with dashed line |
Function returns graphic for all individuals with a haplotype switch (defined as change in dosage from 0 to \geq
1 or vice versa) for haplotype
within interval
. If trait
is included, the trait values for each individual are displayed on the right side. The function requires map positions in bp to be included in data
.
ggplot2 variable
## Not run:
fine_map(data = diallel_example,
haplotype = "W6511-1R.2",
interval = c("solcap_snp_c2_40766","solcap_snp_c1_15225"))
fine_map(data = diallel_example,
haplotype = "W6511-1R.2",
interval = c("solcap_snp_c2_40766","solcap_snp_c1_15225"),
marker = "solcap_snp_c2_25522")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.