call_tile_reg {sharpr2}R Documentation

call_tile_reg

Description

For a HiDRA dataset on a given chromosome, this function calls tile regions (the regions covered by at least one read).

Usage

call_tile_reg(data)

Arguments

data

A data.frame for a HiDRA dataset for one chromosome. The data.frame must contain four columns: 'start', 'end', 'PLASMID', 'RNA', and is sorted by 'start'.

Value

tile_reg: A list containing the row ids in the data for each tiled region.

size: The number of reads in each tiled region.

num_r: The total number of tiled regions.

Examples

data(hidra_ex)
tiled <- call_tile_reg(hidra_ex)

[Package sharpr2 version 1.1.1.0 Index]