keepOnlyAtomicCols: Keep only atomic columns

keepOnlyAtomicColsR Documentation

Keep only atomic columns

Description

Keep only atomic columns

Usage

keepOnlyAtomicCols(object, ...)

## S4 method for signature 'DFrame'
keepOnlyAtomicCols(object)

## S4 method for signature 'data.frame'
keepOnlyAtomicCols(object)

Arguments

object

Object.

...

Additional arguments.

Value

Modified object, containing only atomic columns.

Note

Updated 2023-09-08.

Examples

## DFrame ====
object <- S4Vectors::DataFrame(
    "a" = I(list(
        c(1L, 2L),
        c(3L, 4L),
        c(5L, 6L)
    )),
    "b" = c(TRUE, TRUE, FALSE),
    "c" = c("a", "b", "c"),
    row.names = c("x", "y", "z")
)
print(object)
object <- keepOnlyAtomicCols(object)
print(object)

acidgenomics/AcidBase documentation built on Jan. 28, 2024, 2:59 a.m.