Title Kendler's FGRS
kendler(
.tbl = NULL,
family_graphs = NULL,
family_graphs_col = "fam_graph",
pid = "pid",
fid = "fid",
role = NULL,
dadcol,
momcol,
env_cor_sib = 1,
env_cor_f = 1,
env_cor_m = 1
)
A tibble with summary values used to calculate the kendler FGRS and the FGRS itself.
A matrix, list or data frame that can be converted into a tibble.
Must have at least five columns that hold the family identifier, the personal
identifier, the role and the lower and upper thresholds. Note that the
role must be one of the following abbreviations
- g
(Genetic component of full liability)
- o
(Full liability)
- m
(Mother)
- f
(Father)
- c[0-9]*.[0-9]*
(Children)
- mgm
(Maternal grandmother)
- mgf
(Maternal grandfather)
- pgm
(Paternal grandmother)
- pgf
(Paternal grandfather)
- s[0-9]*
(Full siblings)
- mhs[0-9]*
(Half-siblings - maternal side)
- phs[0-9]*
(Half-siblings - paternal side)
- mau[0-9]*
(Aunts/Uncles - maternal side)
- pau[0-9]*
(Aunts/Uncles - paternal side).
Defaults to NULL
.
A tibble with columns pid and family_graph_col. See prepare_graph for construction of the graphs. The family graphs Defaults to NULL.
Name of column with family graphs in family_graphs. Defaults to "fam_graph".
A string holding the name of the column in .tbl
(or family
and
threshs
) that hold the personal identifier(s). Defaults to "PID".
A string holding the name of the column in .tbl
or family
that
holds the family identifier. Defaults to "fid".
A string holding the name of the column in .tbl
that
holds the role. Each role must be chosen from the following list of abbreviations
- g
(Genetic component of full liability)
- o
(Full liability)
- m
(Mother)
- f
(Father)
- c[0-9]*.[0-9]*
(Children)
- mgm
(Maternal grandmother)
- mgf
(Maternal grandfather)
- pgm
(Paternal grandmother)
- pgf
(Paternal grandfather)
- s[0-9]*
(Full siblings)
- mhs[0-9]*
(Half-siblings - maternal side)
- phs[0-9]*
(Half-siblings - paternal side)
- mau[0-9]*
(Aunts/Uncles - maternal side)
- pau[0-9]*
(Aunts/Uncles - paternal side).
Defaults to "role".
column name of father in family_graphs or .tbl.
column name of mother in family_graphs or .tbl.
Cohabitation effect, i.e. Factor by which the siblings are weighted. Defaults to 1.
Cohabitation effect, i.e. Factor by which the father is weighted. Defaults to 1.
Cohabitation effect, i.e. Factor by which the mother is weighted. Defaults to 1.