Skip to contents

Emits what format.tales builds; see there for what is shown and why.

Usage

# S3 method for class 'tales'
print(x, n = 2L, ...)

Arguments

x

A tales object.

n

Number of arrays to show at each end. Everything is shown when the object holds 2 * n arrays or fewer.

...

Unused, present for compatibility with the format generic.

Value

x, invisibly.

Examples

parts <- data.frame(
  array_id = c("A1", "A1", "A1", "A2", "A2", "A2"),
  position_in_array = c(1L, 2L, 3L, 1L, 2L, 3L),
  domain_type = c("N-terminus", "repeat", "C-terminus",
                  "N-terminus", "repeat", "C-terminus"),
  rvd = c("NTERM", "HD", "CTERM", "NTERM", "NI", "CTERM")
)
x <- tales(parts)
print(x)
#> <tales> 2 arrays, 6 parts
#>   layers: rvd   |   1 other column
#>       rvd
#>   A1  NTERM HD CTERM
#>   A2  NTERM NI CTERM