summaryInc: Summarize spatial inconsistencies.

Description Usage Arguments Value Author(s) References See Also Examples

Description

A function to summarize the details of spatial inconsistencies detected with searchInc.

Usage

1
summaryInc(indices, neighborhoods)

Arguments

indices

An integer or integer vector giving the indices of loci (bins) in the corresponding Hi-C matrix for which a summary should be generated

neighborhoods

The list of spatial inconsistencies detected by searchInc.
'neighborhoods' is a list where neighborhoods[i] gives the neighborhood of i, if a spatial inconsistency was detected for i, and NULL otherwise. Here, the neighborhood of i is the sub-graph of immediate neighbors in trans, an igraph object with attributes to label nodes by their name (index), fullName (chromosome name and genomic coordinates), membership (the connected component to which they belong, where i is always assigned with 0) and chr (chromosome name).

Value

A data frame with the following columns, specifying the details for each node in the given detected spatial inconsistencies: chr (chromosome name of node) component (the connected component membership of the node), index (node index), fullName (chromosome name and genomic coordinates of the node), splitChr (chromosome name of the node for which the spatial inconsistency was detected), splitIndex (index of the node for which the spatial inconsistency was detected).

Author(s)

Yoli Shavit

References

Y. Shavit, F.K. Hamey, P. Lio', FisHiCal: an R package for iterative FISH-based calibration of Hi-C data, 2014 (submitted).

See Also

searchInc
plotInc

Examples

1
2
3
4
  data(spatialInc)
  summaryInc(1, spatialInc) # empty since no spatial incosistency was detected
  summaryInc(167, spatialInc)
  summaryInc(167:173, spatialInc)

FisHiCal documentation built on May 1, 2019, 10:09 p.m.