Learn R Programming

dupiR (version 1.2)

getCounts: Accessors for the 'counts' and 'fractions' slots of a Counts object.

Description

Each measurement consists of an integer count and a corresponding sampling fraction. These values are required to defined an object of class Counts and are subsequently stored in the counts and fractions slots. The counts slot is an integer vector of counts. The fractions slot is a numeric vector of matched sampling fractions.

Arguments

Methods

signature(object = "Counts")
an object of class Counts.

See Also

Counts

Examples

Run this code
K <- newCounts( counts = c(20,30), fractions = c(0.075, 0.1))

getCounts(K)
getFractions(K)

Run the code above in your browser using DataLab