https://github.com/bioconductor-source/spectraltad
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 4 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.4%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: bioconductor-source
- License: other
- Language: R
- Default Branch: devel
- Size: 1.52 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
SpectralTAD
Cresswell, Kellen G., John C. Stansfield, and Mikhail G. Dozmorov. “SpectralTAD: An R Package for Defining a Hierarchy of Topologically Associated Domains Using Spectral Clustering.” BMC Bioinformatics 21, no. 1 (December 2020): 319.
SpectralTAD is a TAD caller that uses a modified form of spectral clustering
to quickly identify hierarchical topologically associating domains (TADs).
Users input a contact matrix and receive a BED file
containing the coordinates of TADs and their levels in a hierarchy.
The Level 1 TADs are generally large, well-defined, while the subsequent levels
are less well-pronounced yet sufficiently distinct to be recognized as TADs.
The two main functions are SpectralTAD() and SpectralTAD_Par().
SpectralTAD() is a function for calling TADs. SpectralTAD_Par()
is the parallelized version. The input data can be an n x n,
an n x (n+3), or a sparse 3-column matrix (see vignette (`browseVignettes("SpectralTAD"))
Installation
If necessary, install the dependencies:
``` install.packages(c('dplyr', 'PRIMME', 'cluster', 'Matrix', 'parallel', 'magrittr', 'HiCcompare'))
if (!requireNamespace("BiocManager", quietly=TRUE)) install.packages("BiocManager") BiocManager::install('BiocParallel') ```
The latest version of SpectralTAD can be directly installed from Github:
devtools::install_github('cresswellkg/SpectralTAD', build_vignettes = TRUE)
library(SpectralTAD)
Alternatively, the package can be installed from Bioconductor (to be submitted):
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("SpectralTAD")
library(SpectralTAD)
Input
There are three types of input accepted:
- n x n contact matrices
- n x (n+3) contact matrices
- 3-column sparse contact matrices
These formats are explained in depth in the vignette.
Usage
Multi-Level TADs
```
Load example contact matrix
data("raochr2025_rep")
Find TADs
tads = SpectralTAD(raochr2025rep, chr = "chr20", levels = 2, qualfilter = FALSE) ```
The output is a list where each entry corresponds to a level of the TAD hierarchy.
First level sample output:
chr start end Level
chr20 50000 1200000 1
chr20 1200000 2450000 1
chr20 2450000 3525000 1
chr20 3525000 4075000 1
Second level sample output:
chr start end Level
chr20 50000 550000 2
chr20 550000 675000 2
chr20 675000 1200000 2
chr20 1200000 1750000 2
Citation
Cresswell, Kellen G., John C. Stansfield, and Mikhail G. Dozmorov. "SpectralTAD: an R package for defining a hierarchy of Topologically Associated Domains using spectral clustering." BMC bioinformatics 21, no. 1 (2020): 1-19. https://doi.org/10.1186/s12859-020-03652-w
@article{cresswell2020spectraltad,
title={SpectralTAD: an R package for defining a hierarchy of Topologically Associated Domains using spectral clustering},
author={Cresswell, Kellen G and Stansfield, John C and Dozmorov, Mikhail G},
journal={BMC bioinformatics},
volume={21},
number={1},
pages={1--19},
year={2020},
publisher={Springer}
}
Contributions & Support
Suggestions for new features and bug reports are welcome. Please, create a new issue for any of these or contact the author directly: @cresswellkg (cresswellkg[at]vcu[dot]edu)
Contributors
Authors: @cresswellkg (cresswellkg[at]vcu[dot]edu) & @mdozmorov (mikhail.dozmorov[at]vcuhealth[dot]org)
Owner
- Name: (WIP DEV) Bioconductor Packages
- Login: bioconductor-source
- Kind: organization
- Email: maintainer@bioconductor.org
- Website: https://bioconductor.org
- Repositories: 1
- Profile: https://github.com/bioconductor-source
Source code for packages accepted into Bioconductor
GitHub Events
Total
Last Year
Dependencies
- R >= 3.6 depends
- BiocParallel * imports
- GenomicRanges * imports
- HiCcompare * imports
- Matrix * imports
- PRIMME * imports
- cluster * imports
- dplyr * imports
- magrittr * imports
- parallel * imports
- utils * imports
- BiocCheck * suggests
- BiocManager * suggests
- BiocStyle * suggests
- covr * suggests
- knitr * suggests
- microbenchmark * suggests
- rmarkdown * suggests
- testthat * suggests