Learn R Programming

SlideCNA (version 0.1.0)

scalefit: Subfunction for scale_nUMI that normalizes a given bin for UMI count and centers the mean CNV score at 1

Description

This function re-scales expression intensities to be in a smaller range, normalizes for nUMI per bin, and centers the CNV scores to have a mean of 1

Usage

scalefit(obj, nbin, start, end)

Value

vector of adjusted CNV scores for that bins with nbin number of nUMIs within the range (inclusive) of start to end

Arguments

obj

data.table of relative expression intensities per bin

nbin

nUMIs in that specific bin

start

lower bound of CNV scores

end

upper bound of CNV scores