R/demo_data.R

#' Snippet of a gwas
#'
#' A small part of a gwas provided for testing and examples
#'
#' @format A data frame with 6 rows and 10 variables:
#' \describe{
#'   \item{rsid}{The rsid of the SNP} 
#'   \item{CHR}{The name of the reference sequence the SNP is on}  
#'   \item{EA}{The effect allele for the beta}   
#'   \item{NEA}{The non-effect allele for the beta}  
#'   \item{EAF}{The frequency of the effect allele as observed in the study }  
#'   \item{beta}{The association coefficient between the effect allele and the outcome measured } 
#'   \item{SE}{The size of the estimated standard error of beta}   
#'   \item{P}{The P-value for beta being different from zero}    
#'   \item{POS}{The (1-based) position of the SNP within its reference sequence, CHR } 
#'   ...
#' }
#' @source \url{???}
"demo_data"
richardslab/MRutils documentation built on Dec. 22, 2021, 4 p.m.