Skip to contents

Barplot of CGG repeats

Usage

graph_CGG_repeats(data, rows = NULL, cols = NULL, include_200_cutoff = FALSE)

Arguments

data

a data.frame containing a numeric or integer column named CGG

rows, cols

A set of variables or expressions quoted by vars() and defining faceting groups on the rows or columns dimension. The variables can be named (the names are passed to labeller).

For compatibility with the classic interface, rows can also be a formula with the rows (of the tabular display) on the LHS and the columns (of the tabular display) on the RHS; the dot in the formula is used to indicate there should be no faceting on this dimension (either row or column).

include_200_cutoff

whether to include the CGG = 200 cutoff

Value

a ggplot2::ggplot object

Examples

test_data_v1 |> graph_CGG_repeats()

test_data_v1 |> graph_CGG_repeats(cols = ggplot2::vars(Gender))