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)


VingronLab/APL documentation built on Nov. 9, 2024, 5:33 p.m.