Learn R Programming

CNVPanelizer (version 1.2.2)

CombinedNormalizedCounts: CombinedNormalizedCounts

Description

This function makes use of NOISeq::tmm to normalize the read counts of all samples and references to the same median read count

Usage

CombinedNormalizedCounts(sampleCounts, referenceCounts, ampliconNames = NULL)

Arguments

sampleCounts
Matrix or vector with sample read counts (rows: amplicons, columns: samples)
referenceCounts
Matrix with reference read counts (rows: amplicons, columns: samples)
ampliconNames
A vector with amplicon defining names for the reference and sample matrices

Value

A list object with two matrices
samples
The samples matrix normalized
reference
The reference matrix normalized

Examples

Run this code
data(sampleReadCounts)
data(referenceReadCounts)

normalizedReadCounts <- CombinedNormalizedCounts(sampleReadCounts,
                                                 referenceReadCounts)

Run the code above in your browser using DataLab