- Fix equation format issue and update one URL.
- Update URL that otherwise redirects HTTP to HTTPS.
-
Package now includes mouse Chr19 data from the TopDom study. They can be found in the
system.file("exdata", package = "TopDom")
folder. -
The orignal TopDom scripts
TopDom_v0.0.1.R
andTopDom_v0.0.2.R
are now distributed part of the package as-is. They can be found in thesystem.file("original-scripts", package = "TopDom")
folder. -
readHiC()
gained arguments...
which is passed as-is toread.table()
.
ggCountHeatmap()
forTopDomData
could produce a warning on a partial argument name.
- The list data.frame elements returned by
overlapScores()
now has columnchromosome
as the first position. The data.frame:s are of kindtibble
.
- Add
as_tibble()
forTopDomOverlapScores
.
-
Add further documentation on the
window.size
parameter. -
Add reference to Hanjun Shin's PhD thesis.
-
Improved help on
overlapScores()
andTopDom()
. -
Provide a reference for the default value for
window.size
ofTopDom()
.
- Fix two cases of partial argument name.
-
The TopDom object returned by
TopDom()
now has an attributeparameters
which records the value of argumentswindow.size
andstatFilter
. -
Made
TopDom()
faster and more memory efficient by lower the number of replicated computations.
- Add internal sanity checks to
TopDom()
asserting that the intermediate and final results are of proper length and does not contain missing values.
- Internal
Convert.Bin.To.Domain.TMP()
used byTopDom()
could produceError in
[<-.data.frame(
tmp, , "to.coord", value = c(NA, 2500, 247500 : replacement has 3 rows, data has 1
, because it assumed at least one domain was identified.
- Renamed fields returned by
overlapScores()
to be in singular form, e.g.best_score
instead ofbest_scores
.
- Now
overlapScores()
returns also the lengths of the reference domains.
- Renamed and swapped the order of the first two arguments of
overlapScores()
and renamed the second argument toreference
. This was done in order to make it clear which set of topological domains the overlap scores are calculated relative to.
- Lead TopDom author Xianghong Jasmine Zhou confirms by email that the original TopDom scripts, and thereby this package, may be released under the GNU Public License (GPL).
-
Add
countsPerRegion()
for calculating the total contact-frequency counts per region specified, e.g. per domain. -
Add
print()
,dim()
,[()
, andsubsetByRegion()
for TopDom objects where the number of rows in the dimension reflect the number of TopDom domains.
-
The legacy
TopDom()
functions, available vialegacy()
, also acceptTopDomData
objects as returned byreadHiC()
. This is supported mostly to make it possible to efficiently compare the different implementations. -
Added
[()
forTopDomData
objects, e.g.tdd[1:100]
. -
Added
subsetByRegion()
forTopDomData
objects. -
Added
ggCountHeatmap()
,ggDomain()
, andggDomainLabel()
forTopDomData
objects.
- See 'BUG FIXES' below.
- Add function
legacy()
for access to the original TopDom v0.0.1 and TopDom v0.0.2 implementations, e.g.TopDom::legacy("0.0.1")$TopDom()
.
- All TopDom functions except
TopDom()
itself were the ones from TopDom v0.0.2.
- Released on GitHub.
- The license of the underlying TopDom R code/scripts is still unknown, i.e. to be decided by the original authors of TopDom. Any mentioning of code licenses in this package / git repository history is invalid.
-
Add
overlapScores()
. -
Add
image()
forTopDomData
. -
List returned by
TopDom()
gained classTopDom
. -
Added logical option
TopDom.debug
, which controls whether functions produce debug output or not. The default is FALSE.
- Updated the 'Value' section of
help("TopDom")
with details from the TopDom Manual (an online PDF) provided by Shin et al.
-
Add
print()
method forTopDomData
object. -
Reference the TopDom paper (Shin et al., 2016) in the help and the README.
-
Turned the original TopDom R script into a package.
-
All progress messages are outputted done to standard error.
-
Add
readHiC()
.
-
TopDom()
can now read, viareadHiC()
, a pure count matrix file without bin information. To read such files, specify what chromosome is being read (argumentchr
) and the bin size of the count matrix (argumentbinSize
). -
If the matrix file is not of a known format, then
TopDom()
produces an informative error. Previously it gave a message on stdout and returned 0.
- Tidied up code.
- Added package tests.
-
TopDom v0.0.2 script from http://zhoulab.usc.edu/TopDom/ with the below entries from the official release note:
-
Gap Identification module is changed.
-
Minor bug related to Change Points identification in very small regions is fixed.
-
bed format support.
- TopDom v0.0.1 script from http://zhoulab.usc.edu/TopDom/.