dim.gggenomes_layout: 'ggplot2::facet_null' checks data with 'empty(df)' using...

View source: R/gggenomes.R

dim.gggenomes_layoutR Documentation

ggplot2::facet_null checks data with empty(df) using dim. This causes an error because dim(gggenome_layout) is undefined. Return dim of primary table instead

Description

ggplot2::facet_null checks data with empty(df) using dim. This causes an error because dim(gggenome_layout) is undefined. Return dim of primary table instead

Usage

## S3 method for class 'gggenomes_layout'
dim(x)

Value

dim of primary table


thackl/gggenomes documentation built on Aug. 31, 2024, 9:47 p.m.