segregationRatios: Compute observed segregation proportions for dominant markers...

Description Usage Arguments Value Author(s) See Also Examples

Description

Computes segregation ratios for a matrix of markers where the rows are markers and the columns are individuals and the markers are recorded as 0's and 1's

Usage

1
segregationRatios(x, drop.cols = NULL)

Arguments

x

matrix of 0's, 1,s and NA's representing scores of dominant markers where the rows are markers and the columns are individuals

drop.cols

numeric columns to drop when calculating segregation ratios

Value

Returns an object of class segRatio containing

r

no. of 1's for each individual

n

total no. of markers present for each individual

seg.ratio

segregation proportion for each individual

n.individuals

total number of individuals

Author(s)

Peter Baker p.baker1@uq.edu.au

See Also

testSegRatio: chi squared χ^2 and tests and Binomial confidence intervals for assigning marker dosage, expected.segRatio: compute expected segregation proportions for various dosages for dominant markers in regular autopolyploids

Examples

1
2
3
4
5
## simulate small autotetraplid data set
a1 <- sim.autoMarkers(4,c(0.8,0.2),n.markers=20,n.individuals=10)
print(a1)

print(segregationRatios(a1$markers))

polySegratio documentation built on May 2, 2019, 6:09 p.m.