find_synteny_blocks: Find shared synteny blocks by comparing two genetics maps

Description Usage Arguments Value Examples

View source: R/find_synteny_blocks.R

Description

Find shared synteny blocks by comparing two genetics maps

Usage

1
2
find_synteny_blocks(map_list, max_cluster_range, max_nn_dist,
  min_block_size = 2, plots = FALSE)

Arguments

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?

Value

A list of length 3 containing synteny block assignments for each marker

Examples

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)

ksamuk/syntR documentation built on Feb. 11, 2021, 4:46 a.m.