Description Usage Arguments Value Author(s) See Also Examples
Given markers (or more correctly dominant 1,0) marker data and return list object of containing markers data split according to parental alleles, namely 1,0 for each parent and 1,1 for both parents
1 2 3 | divide.autoMarkers(markers, description = paste("Markers split for",
deparse(substitute(markers))), parent.cols = c(1, 2),
extra.cols = NULL, cols.drop = c(parent.cols, extra.cols))
|
markers |
matrix of 1, 0, NA indicating marker alleles where rownames are markernames, column names are progeny names |
description |
text containing a description for printing |
parent.cols |
column(s) for parental markers (default: 1,2) |
extra.cols |
extra column(s) to be subsetted (default: NULL) |
cols.drop |
columns to be dropped from markers before splitting data which can be set to NULL if no columns are to be dropped (Default: c(parent.cols,extra.cols)) |
Returns S3 class divideAutoMarkers
containing
p10, p01, p11 |
lists for where the first, second components are heterozygous for parents 1, 2 and both resp. Each list contains
|
Peter Baker p.baker1@uq.edu.au
1 2 3 4 5 6 7 8 | p2 <- sim.autoCross(4,
dose.proportion=list(p01=c(0.7,0.3),p10=c(0.7,0.3),
p11=c(0.6,0.2,0.2)))
print(p2)
ss <- divide.autoMarkers(p2$markers)
print(ss)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.