plotNetwork | R Documentation |
Visualise the network based on an IDER-based similarity matrix. The vertexes are initial clusters, and the edge width denotes the similarity between two initial clusters.
plotNetwork(
seu,
ider,
batch.var = "Batch",
colour.by = NULL,
weight.factor = 6.5,
col.vector = NULL,
vertex.size = 1
)
seu |
Seurat S4 object after the step of |
ider |
A list. Output of 'getIDER'. Required. |
batch.var |
Character. Metadata colname containing batch information.
(Default: |
colour.by |
Character. It should be one of the colnames of Seurat
object meta.data.It is used to colour the vertex of the network graph.
(Default: |
weight.factor |
Numerical. Adjust the thickness of the edges. (Default: 6.5) |
col.vector |
A vector of Hex colour codes. If no value is given (default), a vector of 74 colours will be used. |
vertex.size |
Numerical. Adjsut the size of vertexes. (Default: 1) |
An igraph object
getIDEr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.