You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' Align Phenotype Vector to Matrix Format for OpenMx
426
426
#'
427
427
#' This function takes a pedigree data frame, a specified phenotype column, and a vector of IDs to keep, and returns a matrix formatted for use in OpenMx models. The resulting matrix has one row and columns corresponding to the specified IDs, with values taken from the phenotype column of the pedigree.
428
-
#' @param ped A data frame representing the pedigree, containing at least the columns specified by \code{phenotype} and \code{id_col}.
428
+
#' @param ped A data frame representing the pedigree, containing at least the columns specified by \code{phenotype} and \code{personID}.
429
429
#' @param phenotype A character string specifying the column name in \code{ped} that
430
430
#' contains the phenotype values to be aligned.
431
-
#' @param keep_ids A vector of IDs for which the phenotype values should be extracted and aligned. These IDs should correspond to the values in the \code{id_col} of \code{ped}.
432
-
#' @param id_col A character string specifying the column name in \code{ped} that contains the individual IDs. Default is "ID".
431
+
#' @param keep_ids A vector of IDs for which the phenotype values should be extracted and aligned. These IDs should correspond to the values in the \code{personID} of \code{ped}.
432
+
#' @param personID A character string specifying the column name in \code{ped} that contains the individual IDs. Default is "ID".
0 commit comments