scalefit: Subfunction for scale_nUMI that normalizes a given bin for...

scalefitR Documentation

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)

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

Value

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


dkzhang777/SlideCNA documentation built on Jan. 25, 2025, 5:53 p.m.