virtual4C: Computing virtual 4C profiles

View source: R/4C.R

virtual4CR Documentation

Computing virtual 4C profiles

Description

From a (m)cool pre-imported in memory, computes a 4C profile using a user-specified viewpoint.

Usage

virtual4C(x, viewpoint, use.scores = "balanced")

Arguments

x

a HiCExperiment object

viewpoint

viewpoint, defined as a GRanges

use.scores

use.scores

Value

A tibble with the contact frequency of the viewpoint, per bin along the imported genomic range.

Examples

library(HiContacts)
contacts_yeast <- contacts_yeast()
v4C <- virtual4C(contacts_yeast, GenomicRanges::GRanges('II:490001-510000'))
v4C

js2264/cooleR documentation built on Oct. 3, 2024, 2:51 a.m.