View source: R/fonctionsBase.R
gen.sibship | R Documentation |
Returns the id numbers of the siblings of specified individuals.
gen.sibship( gen, individuals, halfSibling = TRUE, ...)
gen |
An object of class GLgen obtained with gen.genealogy, gen.lineages or gen.branching. Required. |
individuals |
Vector of individual id numbers. Required. |
halfSibling |
If halfSibling=TRUE (default) then ids of halfsiblings are also returned. halfSibling=FALSE returns only full sibling ids. |
... |
Option to pass additionnal arguments automaticaly between methods. Internal use only. |
returns a vector of integer
gen.genealogy
gen.pro
gen.founder
gen.children
gen.parent
data(geneaJi)
genJi<-gen.genealogy(geneaJi)
gen.sibship(genJi, individuals=21,halfSibling=TRUE)
data(genea140)
gen140<-gen.genealogy(genea140)
sibs<-gen.sibship(gen140,individuals=10174, halfSibling=FALSE)
gen.graph(gen140, pro=c(10174,sibs))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.