getBinMatrix: Calculate read counts in each bin

View source: R/supp_functions.R

getBinMatrixR Documentation

Calculate read counts in each bin

Description

This function calculates the read count of specific cells in a framgnets file. These counts are returned as a matrix

Usage

getBinMatrix(cells, df, fragments)

Arguments

cells

.tsv file of cells to include in the calculation

df

dataframe containing GCcontent, peak content and width information

fragments

path to a .tsv.gz fragments file with corresponding .tbi file

Value

A matrix containing the read counts. Row names are features, column names are cells


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