show.cacomp: Prints cacomp object

Description Usage Arguments Examples

View source: R/generic_methods.R

Description

Provides more user friendly printing of cacomp objects.

Usage

1
2
3
4
show.cacomp(object)

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

Arguments

object

cacomp object to print

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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

elagralinska/APLpackage documentation built on Dec. 20, 2021, 4:15 a.m.