gGraph | R Documentation |
a genome graph object
new()
gGraph$new( genome = NULL, breaks = NULL, juncs = NULL, alignments = NULL, prego = NULL, jabba = NULL, cougar = NULL, weaver = NULL, remixt = NULL, rck = NULL, walks = NULL, nodes = NULL, edges = NULL, nodeObj = NULL, edgeObj = NULL, meta = NULL, verbose = FALSE )
walks()
gGraph$walks(field = NULL, greedy = FALSE, verbose = FALSE)
set()
gGraph$set(...)
queryLookup()
gGraph$queryLookup(id)
disjoin()
gGraph$disjoin( gr = NULL, by = NULL, collapse = TRUE, na.rm = TRUE, avg = FALSE, sep = ",", FUN = default.agg.fun.generator(na.rm = na.rm, sep = sep, avg = avg) )
simplify()
gGraph$simplify( by = private$pmeta$by, na.rm = TRUE, avg = TRUE, sep = ",", FUN = default.agg.fun.generator(na.rm = na.rm, sep = sep, avg = avg), ignore.loose = FALSE )
reduce()
gGraph$reduce(...)
subgraph()
gGraph$subgraph( seed = si2gr(self), d = NULL, k = 0, bagel = FALSE, mod = FALSE, ignore.strand = T, verbose = FALSE )
clusters()
gGraph$clusters(i = NULL, j = NULL, mode = "weak")
eclusters()
gGraph$eclusters( thresh = 1000, range = 1e+06, weak = TRUE, paths = !weak, mc.cores = 1, verbose = FALSE, chunksize = 1e+30, method = "single" )
eclusters2()
gGraph$eclusters2( thresh = 1000, range = 1e+06, weak = TRUE, paths = !weak, mc.cores = 1, verbose = FALSE, chunksize = 1e+30, method = "single", return_pairs = FALSE, ignore.small = TRUE, max.small = 10000, ignore.isolated = TRUE, strict = c("strict", "one_to_one", "loose"), min.isolated = max.small, only_chains = FALSE )
paths()
gGraph$paths( query, subject = query, mc.cores = 1, weight = NULL, meta = NULL, ignore.strand = TRUE, cartesian = TRUE )
dist()
gGraph$dist( query, subject, weight = NULL, ignore.strand = TRUE, include.internal = TRUE, verbose = FALSE )
rep()
gGraph$rep(nodes = NULL, times)
swap()
gGraph$swap(nodes, replacement)
connect()
gGraph$connect( n1, n2, n1.side = "right", n2.side = "left", type = "ALT", meta = NULL, insert = NULL )
toposort()
gGraph$toposort()
print()
gGraph$print()
annotate()
gGraph$annotate(colName, data, id, class)
maxflow()
gGraph$maxflow( field = NA, walk = FALSE, max = TRUE, lower.bound = TRUE, nfield = NA, efield = NA, cfield = NA, path.only = TRUE, require.nodes = NULL, multi = FALSE, ncopies = 1, reverse.complement = FALSE, verbose = FALSE )
window()
gGraph$window(pad = 0)
gtrack()
gGraph$gtrack( y.field = NULL, lwd.loose = 3, col.loose = alpha("blue", 0.6), col.alt = alpha("red", 0.4), ... )
trim()
gGraph$trim(tile)
fix()
gGraph$fix(pattern = NULL, replacement = NULL, drop = TRUE, seqlengths = NULL)
add()
gGraph$add(nodes = NULL, edges = NULL, junctions = NULL)
json()
gGraph$json( filename = ".", maxcn = 100, maxweight = 100, save = TRUE, verbose = FALSE, annotations = NULL, nfields = NULL, efields = NULL, settings = list(y_axis = list(title = "copy number", visible = TRUE)), cid.field = NULL, no.y = FALSE )
get.diameter()
gGraph$get.diameter(weights = NULL)
circos()
gGraph$circos(...)
split()
gGraph$split(by = "parent.graph")
clone()
The objects of this class are cloneable with this method.
gGraph$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.