count_breakpoints: Count the number of breakpoints per individual

View source: R/count_breakpoints.R

count_breakpointsR Documentation

Count the number of breakpoints per individual

Description

Count the number of breakpoints per individual

Usage

count_breakpoints(ind, hom = F)

Arguments

ind

An chromosome object

hom

Whether the indvidual is homozygous or not. Default is FALSE. If true, the number of breakpoints for only one of the chromosomes will be given

Value

The number of breakpoints in an individual. If hom is F, then it will return a vector of breakpoints on the two chromsomes, otherwise just one value will be given


sarahodell/magicsim documentation built on Sept. 25, 2023, 8:12 a.m.