cacomp_names: Prints slot names of cacomp object

View source: R/constructor.R

cacomp_namesR Documentation

Prints slot names of cacomp object

Description

Prints slot names of cacomp object

Usage

cacomp_names(caobj)

Arguments

caobj

a cacomp object

Value

Prints slot names of cacomp object

Examples

# Simulate scRNAseq data.
cnts <- data.frame(cell_1 = rpois(10, 5),
                   cell_2 = rpois(10, 10),
                   cell_3 = rpois(10, 20))
rownames(cnts) <- paste0("gene_", 1:10)
cnts <- as.matrix(cnts)

# Run correspondence analysis.
ca <- cacomp(obj = cnts, princ_coords = 3, top = 5)

# show slot names:
cacomp_names(ca)


ClemensKohl/APL documentation built on Feb. 6, 2024, 1:28 a.m.