getWeb | R Documentation |
weaveWeb wrapper for the MultiAssayExperiment class
## S4 method for signature 'MultiAssayExperiment'
getWeb(
x,
link = NULL,
...,
tableY = NULL,
tableX = NULL,
typeY = NULL,
typeX = NULL,
force_new = FALSE,
experiment1 = NULL,
experiment2 = NULL,
assay.type1 = NULL,
assay.type2 = NULL
)
x |
a |
... |
additional parameters passed to |
link |
One of the following:
|
tableY , tableX |
|
typeY , typeX |
|
force_new |
|
experiment1 , experiment2 |
synonymous args to |
assay.type1 , assay.type2 |
synonymous args to |
This wrapper of weaveWeb()
allows to generate an
AnansiWeb
S4 object directly from objects of class
MultiAssayExperiment::MultiAssayExperiment()
. First, the assays specified by assay.typeY
and assay.typeX
are passed to AnansiWeb()
to build an AnansiWeb object.
an AnansiWeb
object, with sparse binary biadjacency matrix
with features from y
as rows and features from x
as columns in
dictionary
slot. If x already contains a dictionary in metadata, use
that one, unless force_new = TRUE
.
# Make a random anansiWeb
web <- randomWeb()
# Combine experiments into MultiAssayExperiment object
mae <- as(web, "MultiAssayExperiment")
# Back to AnansiWeb
outWeb <- getWeb(mae, tableY = "y", tableX = "x")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.