R/sample_dice_data1.R

#' Sample Dice Dataset for Visualization
#'
#' @description
#' This toy dataset (`sample_dice_data1`) is used to demonstrate the `geom_dice()` function.
#' It simulates log fold-change (LFC) and adjusted p-values (q-values) for a range of
#' oral taxa across disease types and specimen sites.
#'
#' @format A data frame with 160 rows and 5 columns:
#' \describe{
#'   \item{taxon}{Character. Microbial taxon name (8 taxa).}
#'   \item{disease}{Character. Disease condition (Caries, Periodontitis, Healthy, Gingivitis).}
#'   \item{specimen}{Character. Body site specimen (Saliva, Plaque, Tongue, Buccal, Gingival).}
#'   \item{lfc}{Numeric. Simulated log2 fold change value; may contain NA.}
#'   \item{q}{Numeric. Simulated adjusted p-value (q-value); may contain NA.}
#' }
#'
#' @usage data(sample_dice_data1)
#' @keywords datasets
#' @examples
#' data(sample_dice_data1)
#' head(sample_dice_data1)
"sample_dice_data1"

Try the ggdiceplot package in your browser

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

ggdiceplot documentation built on March 27, 2026, 5:07 p.m.