#' Load simulated genotypes in the FBM format.
#'
#' The function loads the matrix of simulated genotypes
#' with 1,500 samples (rows) and 200 genetic variants (columns).
#' Genotypes are coded as 0, 1 and 2 (the number of alternative alleles).
#' All variants have the minor allele frequency fixed to 0.5.
#'
#' @return An object of class FBM.
#' @examples
#' G <- attach_example200()
#' G
#' G[1:5, 1:10]
#'
#' @export
attach_example200 <- function()
{
rds <- system.file("extdata", "example200.rds", package = "biglmmz", mustWork = TRUE)
big_attach(rds)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.