calcAvgTable: Calculate random selected background

View source: R/supp_functions.R

calcAvgTableR Documentation

Calculate random selected background

Description

Calculates the average coverage of each row of feature names in name_table in order to produce a background average. Any averages of zero are replaced with the smallest value for that cell.

Usage

calcAvgTable(coverage, name_table)

Arguments

coverage

Coverage matrix (feature x cell)

name_table

Table of feature names to include in background

Value

average coverage table for each feature and cell


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