Description Usage Arguments Value Examples
View source: R/import_and_subset.R
The interactions of the InteractionSet will be subsetted, but all regions (i.e. the annotation) will be retained. This is only useful if you want to add interactions in the other regions later. Otherwise, especially for direct conversion to matrices, it is more useful to subset the whole InteractionSet, including the regions.
1 | subset_interactions(Iset, chr, from = NULL, to = NULL)
|
Iset |
The InteractionSet object to be subsetted. |
chr |
The chromosome for which interactions should be retained. |
from |
Optional. The starting point of the interactions to be retained. If NULL, the chromosome beginning is selected. |
to |
Optional. The ending point of the interactions to be retained. If NULL, the chromosome end is selected. |
An InteractionSet object containing only those interactions specified, but all original genomic annotation.
1 | # chr2_Iset <- subset_interactions(Iset, chr=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.