R/dat1.r

#' Phenotypes and 10 sets of PGSs 
#'
#' A dataset containing phenotypes and multiple PGSs estimated from 10 sets of SNPs according to GWAS p-value thresholds
#'
#' @format A data frame with 1000 rows and 11 variables:
#' \describe{
#'   \item{V1}{Phenotype, value}
#'   \item{V2}{PGS1, for p value threshold <=1}
#'   \item{V3}{PGS2, for p value threshold <=0.5} 
#'   \item{V4}{PGS3, for p value threshold <=0.4}
#'   \item{V5}{PGS4, for p value threshold <=0.3}
#'   \item{V6}{PGS5, for p value threshold <=0.2}
#'   \item{V7}{PGS6, for p value threshold <=0.1}
#'   \item{V8}{PGS7, for p value threshold <=0.05}
#'   \item{V9}{PGS8, for p value threshold <=0.01}
#'   \item{V10}{PGS9, for p value threshold <=0.001}
#'   \item{V11}{PGS10, for p value threshold <=0.0001}
#'   
#'   
#' }
"dat1"

Try the r2redux package in your browser

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

r2redux documentation built on April 3, 2025, 9:35 p.m.