Learn R Programming

propr (version 1.1.0)

propr-class: An S4 class to hold results from proportionality analysis.

Description

An S4 class to hold results from proportionality analysis.

Arguments

Slots

counts
A data.frame. Stores the original "count matrix" input.
logratio
A data.frame. Stores the log-ratio transformed "count matrix".
matrix
A matrix. Stores the proportionality matrix calculated by phit or perb.
pairs
A data.frame. Projects the proportionality matrix pairwise.

See Also

propr, phit, perb

Examples

Run this code
randomNum <- sample(1:1000, size = 25 * 10, replace = TRUE)
counts <- matrix(randomNum, nrow = 25, ncol = 10)
prop <- perb(counts, ivar = 0, iter = 0)
prop[1:5, ]
prop$prop
prop[1:5, "prop"]
subset(prop, 1:5)

Run the code above in your browser using DataLab