Description Usage Arguments Value Examples
View source: R/find_synteny_blocks.R
Find shared synteny blocks by comparing two genetics maps
1 2 | find_synteny_blocks(map_list, max_cluster_range, max_nn_dist,
min_block_size = 2, plots = FALSE)
|
map_list |
list, a 'map_list' object created by make_one_map |
max_cluster_range |
numeric, the maximum distance between markers for them to be considered in the same cluster |
max_nn_dist |
numeric, the maximum distance for a singleton to be considered an outlier |
min_block_size |
numeric, the minimum size of a synteny block |
plots |
logical, should plots be included as output? |
A list of length 3 containing synteny block assignments for each marker
1 2 3 4 5 6 7 8 | # load data
data(ann_pet_map)
# convert data to a single ordered scale
map_list <- make_one_map(ann_pet_map)
# find synteny blocks
synt_blocks <- find_synteny_blocks(map_list, max_clust_range = 2, max_nn_dist = 10, plots = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.