show.cacomp: Prints cacomp object

View source: R/generic_methods.R

show.cacompR Documentation

Prints cacomp object

Description

Provides more user friendly printing of cacomp objects.

Usage

show.cacomp(object)

## S4 method for signature 'cacomp'
show(object)

Arguments

object

cacomp object to print

Value

prints summary information about 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)

ca

ClemensKohl/APL documentation built on May 25, 2024, 3:15 p.m.