View source: R/makeSubmapByHotspots.r
makeSubmapByHotspots | R Documentation |
This function creates a submaps using the list segments created by using the hotspots in the genome
makeSubmapByHotspots(bedmatrix, segmentsList, epsilon = 0.001, snpIndices)
bedmatrix |
a bed.matrix object |
segmentsList |
a list of segment for each chromosomes |
epsilon |
genotype error rate (default is 0.001) |
snpIndices |
(optional) You have the possibility to pass your own list of markers |
If snpIndices is given, the function creates a submap corresponding to the given SNPs.
Otherwise, this function iterates over the list of segments, then for each segments it picks randomly one marker.
This function is used internally in the package by the function makeAtlasByHotspots
return an HostspotsMatrix object with some of his slots filled.
makeSubmapsByHotspots
#Please refer to vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.