control-methods: Get control counts

controlR Documentation

Get control counts

Description

Convenience function to obtain the control counts from a deepSNV object.

Usage

control(deepSNV, ...)

## S4 method for signature 'deepSNV'
control(deepSNV, total = FALSE)

Arguments

deepSNV

a deepSNV-class object

...

Additional param passed to specific methods

total

Logical. If true the sum of both strands is returned

Value

A matrix with the absolute frequencies summed over both strands.

Examples

data(HIVmix)
control(HIVmix)[1:10,]
control(HIVmix, total=TRUE)[1:10,]

gerstung-lab/deepSNV documentation built on June 3, 2022, 3:05 p.m.