newPed | R Documentation |
This is the internal constructor of ped
objects. It does not do any
validation of input other than simple type checking. In particular it should
only be used in programming scenarios where it is known that the input is a
valid, connected pedigree. End users are recommended to use the regular
constructor ped()
.
newPed(ID, FIDX, MIDX, SEX, FAMID, detectLoops = TRUE)
ID |
A character vector. |
FIDX |
An integer vector. |
MIDX |
An integer vector. |
SEX |
An integer vector. |
FAMID |
A string. |
detectLoops |
A logical. |
See ped()
for details about the input parameters.
A ped
object.
newPed("a", 0L, 0L, 1L, "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.