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
1  segregationRatios(x, drop.cols = NULL)

x 

drop.cols 

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 
Peter Baker p.baker1@uq.edu.au
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
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))

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.