make_hist: make an interactive histogram for a given cancer site, based...

View source: R/viz.R

make_histR Documentation

make an interactive histogram for a given cancer site, based on a rate table

Description

make an interactive histogram for a given cancer site, based on a rate table

Usage

make_hist(site = "Prostate", binwidth = 5, rate_table)

Arguments

site

character(1) element of column 'Cancer Sites' that must be present in 'rate_table'

binwidth

numeric(1) passed to 'ggplot2::geom_histogram'

rate_table

data.frame like 'woncan' in YESCDS or BiocYES

Examples

data(woncan)
make_hist(rate_table=woncan)

vjcitn/YESCDS documentation built on Oct. 30, 2024, 1:18 p.m.