subset_chrom: Choose a chromosome and a region within which InteractionSet...

Description Usage Arguments Value Examples

View source: R/import_and_subset.R

Description

Only those interactions and regions of an InteractionSet which lie within the specified range will be retained. This is useful to reduce the object size of the InteractionSet.

Usage

1
subset_chrom(Iset, chr, from = NULL, to = NULL)

Arguments

Iset

The InteractionSet object to be subsetted.

chr

The chromosome for which interactions and regions should be retained.

from

Optional. The starting point of the interactions and regions to be retained. If NULL, the chromosome beginning is selected.

to

Optional. The ending point of the interactions and regions to be retained. If NULL, the chromosome end is selected.

Value

An InteractionSet containing only those regions and those interactions specified in the arguments.

Examples

1
# chr2_Iset <- subset_chrom(Iset, chr = 2)

AnnikaGable/chromium documentation built on May 5, 2019, 6:04 a.m.