# Start of hasFounderGenotypes.R ###############################################
# hasFounderGenotypes ----------------------------------------------------------
#' Test if object contains founder genotypes.
#'
#' @param x Object containing genotype data.
#'
#' @return \code{TRUE} if object contains founder genotypes;
#' \code{FALSE} otherwise.
#'
#' @keywords internal
#' @rdname hasFounderGenotypes
hasFounderGenotypes <- function(x) {
return( all( isFounderAllele( pull.alleles(x) ) ) )
}
# End of hasFounderGenotypes.R #################################################
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.