posMatrix: Generate cell position matrix in a given region based on...

View source: R/util.R

posMatrixR Documentation

Generate cell position matrix in a given region based on middle position of a fragment

Description

Generate cell position matrix in a given region based on middle position of a fragment

Usage

posMatrix(obj, region, cells = NULL, fragments = NULL)

Arguments

obj

an R object (default:pagoda2)

region

regions of interest (GRanges object)

cells

which cell to include. Default: all cells in the object


huqiwen0313/snarePip documentation built on June 11, 2022, 5:34 p.m.