Description Usage Arguments Value Author(s) See Also Examples
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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.