get_unsupervised_graph: Builds an unsupervised force-directed graph

Description Usage Arguments Value

View source: R/unsupervised.R

Description

Builds an unsupervised force-directed graph

Usage

1
2
3
4
5
6
7
get_unsupervised_graph(
  tab,
  col.names,
  filtering.threshold,
  method = c("forceatlas2", "umap"),
  ...
)

Arguments

tab

A data.frame of graph nodes. All the columns of tab will become vertex properties of the output graph

col.names

A character vector indicating which columns of tab should be used to calculate distances

filtering.threshold

The threshold used to filter edges in the graph

...

Additional argument passed to build_graph or build_umap_graph depending on the choice of method

Value

Returns an igraph graph object. This function also performs graph-based clustering. The resulting cluster membership is contained in the community_id vertex attribute of the resulting graph


ParkerICI/scgraphs documentation built on April 30, 2021, 1:10 p.m.