software-factory
MAmattpocock/skills337k4,978 new stars in the last 7 days
library(HiCExperiment)
library(HiContactsData)
# Retrieve a sample cool file path
cool_file <- HiContactsData('yeast_wt', format = 'cool')
# Import the contact matrix as a HiCExperiment object
hic <- import(cool_file, format = 'cool', focus = 'I:20001-80000')
# Inspect the imported object
resolution(hic)
Input: A path to a .cool, .mcool, .hic, or HiC-Pro contact matrix file.
Output: A parsed HiCExperiment object containing contact frequencies, genomic bins, and metadata.
.cool, .mcool, .hic, or HiC-Pro formats using import().focus argument.GInteractions, ContactMatrix, or base matrix using as().HiContacts instead of HiCExperiment alone.HiCExperiment does not support the focus argument for HiC-Pro files (they must be fully imported into memory)..cool, .mcool, .hic, or HiC-Pro format (which consists of a .matrix and a .bed file)..pairs or .pairs.gz files can be linked using CoolFile(), HicFile(), or HicproFile() via the pairsFile argument.'cool', 'pairs').'I:20001-80000' or 'II:1-500000|II:100001-300000') to subset contacts within a genomic locus of interest.availableResolutions() before importing.availableChromosomes() to construct valid focus queries.bins() or unique regions using regions().focus: This is unsupported and will cause the entire matrix to be imported into memory.scores(hic) first.InteractionSet: For general representation of genomic interactions without specialized Hi-C file parsers.MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
DIDietrichGebert/ponytail203k4,904 new stars in the last 7 days