GxG | R Documentation |
Matrices and pairwise features in a GenomicRanges / data.table framework
Copyright (C) 2018 Marcin Imielinski
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Github: https://github.com/mskilab/GxG
new()
gMatrix$new( gr = NULL, dat = NULL, field = NULL, fill = 0, full = NULL, na.rm = TRUE, agg.fun = sum, lower.tri = FALSE )
disjoin()
gMatrix$disjoin(gr = NULL)
sweep()
gMatrix$sweep(vec, FUN = "-", MARGIN = c(1))
metaset()
gMatrix$metaset(...)
annotate()
gMatrix$annotate(y)
clusters()
gMatrix$clusters(mode = "louvain", gpair = TRUE)
transform()
gMatrix$transform(FUN, ...)
set()
gMatrix$set(val, gr1 = NULL, gr2 = NULL)
agg()
gMatrix$agg(gr = NULL, FUN = private$pagg.fun, weighted = FALSE)
merge()
gMatrix$merge( gmats = NULL, FUN = self$agg.fun, simplify = FALSE, mc.cores = 1, verbose = FALSE )
subset()
gMatrix$subset(gr1 = NULL, gr2 = NULL)
gtrack()
gMatrix$gtrack( name = "", colormap = c("white", "red", "black"), clim = NA, cmap.min = NA, cmap.max = NA, quantile = 0.01, max.ranges = 3000, ... )
peaks()
gMatrix$peaks(reverse = FALSE, full = FALSE)
hicpro()
gMatrix$hicpro(file, verbose = TRUE)
pack()
gMatrix$pack(seqname = "1")
print()
gMatrix$print()
clone()
The objects of this class are cloneable with this method.
gMatrix$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.