calcDensity: Calculate density in a given region

View source: R/calcDensity.R

calcDensityR Documentation

Calculate density in a given region

Description

Calculate density in a given region with a slide window

Usage

calcDensity(pos_info, region_info, slide_window = 1e+05)

Arguments

pos_info

tab-separated file (or a data frame) containing position information of items to calculate density, with first column being "ID", second being "Pos". File should NOT have header.

region_info

tab-separated file (or a data frame) containing information about the full-length region to calculate density in, with first column being "ID", second being "Start", third being "End". File should NOT have header.

slide_window

length of each slide window, default 100kb

Author(s)

Yujie Liu


liuyujie0136/tinyfuncr documentation built on Dec. 13, 2024, 8:49 a.m.