| c.IBDprob | R Documentation |
Concatenates objects of class IBDprob. All objects that are
concatenated should have the same population type and the same map. The
function is mainly meant for combining information for multiple crosses
with overlapping parents.
## S3 method for class 'IBDprob'
c(...)
... |
Objects of class |
An object of class IBDprob containing data for all
concatenated objects.
## Compute IBD probabilties for AxB.
AB <- calcIBD(popType = "F4DH",
markerFile = system.file("extdata/multipop", "AxB.txt",
package = "statgenIBD"),
mapFile = system.file("extdata/multipop", "mapfile.txt",
package = "statgenIBD"))
## Compute IBD probabilties for Axc.
AC <- calcIBD(popType = "F4DH",
markerFile = system.file("extdata/multipop", "AxC.txt",
package = "statgenIBD"),
mapFile = system.file("extdata/multipop", "mapfile.txt",
package = "statgenIBD"))
## Combine results.
ABC <- c(AB, AC)
## Check summary.
summary(ABC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.