Newer
Older
% Please edit documentation in R/sequencing_depth_scaling.R
\name{scaleCountsTable}
\alias{scaleCountsTable}
\title{Scale Counts Table}
\usage{
scaleCountsTable(countsTable, scalingDepth_factor)
}
\arguments{
\item{countsTable}{A counts table containing raw read counts.}
\item{scalingDepth_factor}{sequencing depth factor vector}
}
\value{
A scaled counts table.
}
\description{
This function scales a counts table based on the expected sequencing depth per sample.
}
\examples{
mock_data <- list(counts = matrix(c(10, 20, 30, 20, 30, 10, 10, 20, 20, 20, 30, 10), ncol = 4))
scaled_counts <- scaleCountsTable(countsTable = mock_data$counts, 2)