makeSubmapByHotspots: Creation of a submaps

Description Usage Arguments Details Value See Also Examples

Description

This function creates a submaps using the list segments created by using the hotspots in the genome

Usage

1
2
makeSubmapByHotspots(bedmatrix, segmentsList, epsilon = 0.001,
  snpIndices)

Arguments

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

Details

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

Value

return an HostspotsMatrix object with some of his slots filled.

See Also

makeSubmapsByHotspots

Examples

1
2
 
#Please refer to vignette 

genostats/Fantasio documentation built on June 30, 2019, 2:25 a.m.