R/data.R

#' @name bmass_TestData1
#'
#' @title bmass Test Dataset 1
#'
#' @docType data
#' 
#' @description A manually created sample dataset for use in unit
#' tests.
#'
#' @format A data frame with 11 rows and 9 variables:
#' 
#' \describe{
#'   \item{Chr}{chromosome}
#'   \item{BP}{basepair position}
#'   \item{Marker}{rsID# or other identifier}
#'   \item{MAF}{Minor Allele Frequency}
#'   \item{A1}{reference allele}
#'   \item{A2}{alternative allele}
#'   \item{Direction}{direction of association
#'	effect size, + or -}
#'   \item{pValue}{p-Value of GWAS association}
#'   \item{N}{sample size}
#' }
#' 
#' @source Manually created
#'
#' @keywords data
#' 
NULL

#' @name bmass_TestData2
#'
#' @title bmass Test Dataset 2
#'
#' @docType data
#'
#' @description A manually created sample dataset for use in unit
#' tests.
#'
#' @format A data frame with 11 rows and 9 variables:
#' 
#' \describe{
#'   \item{Chr}{chromosome}
#'   \item{BP}{basepair position}
#'   \item{Marker}{rsID# or other identifier}
#'   \item{MAF}{Minor Allele Frequency}
#'   \item{A1}{reference allele}
#'   \item{A2}{alternative allele}
#'   \item{Direction}{direction of association
#'	effect size, + or -}
#'   \item{pValue}{p-Value of GWAS association}
#'   \item{N}{sample size}
#' }
#'
#' @keywords data
#' 
#' @source Manually created
#'
NULL

#' @name bmass_TestSigSNPs
#' 
#' @title bmass Test GWAS SNPs
#'
#' @docType data
#' 
#' @description A manually created list of GWAS significant SNPs to be
#' used in conjunction with 'bmass_TestData1' and 'bmass_TestData2'.
#'
#' @format A data frame with 2 rows and 2 variables:
#' 
#' \describe{
#'   \item{Chr}{chromosome}
#'   \item{BP}{basepair position}
#' }
#'
#' @keywords data
#' 
#' @source Manually created
#' 
NULL

#' @name bmass_SimulatedData1
#'
#' @title bmass Simulated Dataset 1
#'
#' @docType data
#' 
#' @description A manually created sample dataset for use in Roxygen2
#' documents and vignettes.
#'
#' @format A data frame with 11 rows and 9 variables:
#' 
#' \describe{
#'   \item{Chr}{chromosome}
#'   \item{BP}{basepair position}
#'   \item{Marker}{rsID# or other identifier}
#'   \item{MAF}{Minor Allele Frequency}
#'   \item{A1}{reference allele}
#'   \item{A2}{alternative allele}
#'   \item{Direction}{direction of association
#'	effect size, + or -}
#'   \item{pValue}{p-Value of GWAS association}
#'   \item{N}{sample size}
#' }
#' 
#' @source Manually created
#'
#' @keywords data
#' 
NULL

#' @name bmass_SimulatedData2
#'
#' @title bmass Simulated Dataset 2
#'
#' @docType data
#'
#' @description A manually created sample dataset for use in Roxygen2
#' documents and vignettes.
#'
#' @format A data frame with 11 rows and 9 variables:
#' 
#' \describe{
#'   \item{Chr}{chromosome}
#'   \item{BP}{basepair position}
#'   \item{Marker}{rsID# or other identifier}
#'   \item{MAF}{Minor Allele Frequency}
#'   \item{A1}{reference allele}
#'   \item{A2}{alternative allele}
#'   \item{Direction}{direction of association
#'	effect size, + or -}
#'   \item{pValue}{p-Value of GWAS association}
#'   \item{N}{sample size}
#' }
#'
#' @keywords data
#' 
#' @source Manually created
#'
NULL

#' @name bmass_SimulatedSigSNPs
#' 
#' @title bmass Simulated GWAS SNPs
#'
#' @docType data
#' 
#' @description A manually created list of GWAS significant SNPs to be
#' used in conjunction with 'bmass_SimulatedData1' and 'bmass_SimulatedData2'.
#'
#' @format A data frame with 2 rows and 2 variables:
#' 
#' \describe{
#'   \item{Chr}{chromosome}
#'   \item{BP}{basepair position}
#' }
#'
#' @keywords data
#' 
#' @source Manually created
#' 
NULL

#' @name GlobalLipids2013.GWASsnps
#'
#' @title GlobalLipids2013 GWAS SNPs 
#'
#' @docType data
#' 
#' @description A list of the univariate GWAS significant SNPs from
#' the GlobalLipids2013 dataset to be used in the second introductory 
#' bmass vignette.
#'
#' @format A data frame with 157 rows and 2 variables:
#' 
#' \describe{
#'   \item{Chr}{chromosome}
#'   \item{BP}{basepair position}
#' }
#' 
#' @source Supplementary Tables 2 and 3 from
#' \url{https://doi.org/10.1038/ng.2797}.
#' 
#' @keywords data
#'
NULL

Try the bmass package in your browser

Any scripts or data that you put into this service are public.

bmass documentation built on May 17, 2019, 9:02 a.m.