calcCoverage: Calculate coverage

View source: R/supp_functions.R

calcCoverageR Documentation

Calculate coverage

Description

This fuction calculate coverage by multiplying read counts by the average fragment length and dividing by the length of the feature

Usage

calcCoverage(data, df, avg_frag_length)

Arguments

data

Matrix of copy numbers

df

dataframe containing a feature lengths column

avg_frag_length

Average length of a genomic framgnet

Value

coverage matrix


qiuxintao101/scCNV documentation built on July 31, 2022, 2:10 p.m.