Convert a SOLAR-formatted phi2 file into a multic-formatted share.out file.
phi2share reads in the specified files
and generates a multic-formatted share.out file. share.out contains
unique identifiers, expected shared genetic material, and sibling,
spousal, and parent-offspring true/false values.
phi2share(phi2, pedigree.file, pedindex.out, pedindex.cde, output.directory=".")
a character value to specify the location of a SOLAR-formatted phi2
(or similarly formatted) file. Due to the general size of a typical
phi2 file, it is
often stored in .gz format.
a character value to specify the location of a .ped (or
similarly formatted) file. This file must have a header of
a character value to specify the location of a pedindex.out file. This file must be the same that was output from SOLAR. It provides a mapping between the sequential number system assigned by SOLAR and the original family and individual identifiers.
a character value to specify the location of a pedindex.cde file. This file must be the same that was output from SOLAR. This file describes how pedindex.out is organized. This is necessary to read pedindex.out correctly.
a character value specifying which directory to place the output
phi2share creates a local copy of,
gunzip's, and removes the copy of
It also will overwrite share.out and share.out.gz
if they exist in
1 2 3 4 5 6 7 8 9 10 11 12
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.