getBin: Get the name of the input region from bed file in the format...

Description Usage Arguments Value

View source: R/ExtraFunctions.R

Description

Get the name of the input region from bed file in the format of chr:start-end as a string. Start and end are coordinates of the beginning and end of a specific bin with 5000 length base pairs.

Usage

1
getBin(region, bin.name)

Arguments

region

Input region in the format of [chr, start, end].

bin.name

List of bin names of the raw bin by cell matrix.

Value

List of bin names that has intersection with the input region.


bowang-lab/simATAC documentation built on Jan. 28, 2021, 1:22 a.m.