segregationRatios: Compute observed segregation proportions for dominant markers in
autopolyploids
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
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
See Also
testSegRatio: chi squared \(\chi^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
# NOT RUN {## simulate small autotetraplid data seta1 <- sim.autoMarkers(4,c(0.8,0.2),n.markers=20,n.individuals=10)
print(a1)
print(segregationRatios(a1$markers))
# }