compfr {RaceID} | R Documentation |
Computation of a two dimensional Fruchterman-Rheingold representation
Description
This functions performs the computation of a Fruchterman-Rheingold graph layout based on an adjacency matrix derived
from the distance object in slot distances
using the igraph package.
Usage
compfr(object, knn = 10, rseed = 15555)
Arguments
object |
|
knn |
Positive integer number of nearest neighbours used for the inference of the Fruchterman-Rheingold layout. Default is |
rseed |
Integer number. Random seed to enforce reproducible layouts. |
Value
SCseq
object with layout coordinates stored in slot fr
.
Examples
sc <- SCseq(intestinalDataSmall)
sc <- filterdata(sc)
sc <- compdist(sc)
sc <- clustexp(sc)
sc <- findoutliers(sc)
sc <- compfr(sc)
[Package RaceID version 0.3.5 Index]