View source: R/segmentsListByDistance.r
segmentsListByDistance | R Documentation |
Creates a list of segments delimited by gaps in the genome.
segmentsListByDistance( bedmatrix, gap = 0.5, minMarkers = 50, nbSegments = 20, unit = "cM", verbose = TRUE )
bedmatrix |
a bed.matrix object |
gap |
the minimum gap after which a segment is created |
minMarkers |
the minimum number of markers in a mini-segment |
nbSegments |
the number of mini-segments which the segment will be split |
unit |
the |
verbose |
if |
This function is used to create an object of class snpsSegments. It contains a list of segments
delimited by gaps between available markers. Each segment is split in nbSegments
mini-segments.
A segment is not split if it would result in mini-segments shorter that minMarkers
.
The indices in the mini-segments correspond to SNPs in bedmatrix
.
an snpsSegments object
Fantasio
, segmentsListByDistance
#Please refer to vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.