HBDSegments: Find HBDsegments

View source: R/HBDSegments.r

HBDSegmentsR Documentation

Find HBDsegments

Description

This function creates HBDsegments used for creating plots

Usage

HBDSegments(submaps, n.consecutive.markers = 5, threshold = 0.5)

Arguments

submaps

a atlas object

n.consecutive.markers

the number of consecutive markers with a probabilitie equal or greater to the value of the threshold, to be use to fing HBDsegments (default is 5)

threshold

the minimum value of HBD probabilities given for a marker (default is 0.5)

Details

The threshold is the minimum value from which we consider the marker is HBD. From this marker we want a minumum number of consecutive markers to create a HBD segment. (argument : n.consecutive.markers)

Value

This function returns a list of dataframe with 11 columns :

- id

- famid

- pheno

- start

- end

- size

- chromosome

- start_pos

- end_pos

- start_dist

- end_dist

See Also

setSummary

setHBDProb


genostats/Fantasio documentation built on Feb. 2, 2023, 5:28 p.m.