add_vertices_to_landmarks_graph: Add cluster vertices to a landmark graph

Description Usage Arguments Value

View source: R/scaffold.R

Description

Add cluster vertices to a landmark graph

Usage

1
2
3
4
5
6
7
add_vertices_to_landmarks_graph(
  G,
  tab.clustered,
  tab.landmarks,
  col.names,
  min.similarity = 0.5
)

Arguments

G

An igraph object representing the landmark graph

tab.clustered

A data.frame containing the clusters to be represented in the Scaffold map. Each row corresponds to a cluster, and each column to a different marker

tab.landmarks

A data.frame containing the data corresponding to the landmark nodes. Each row corresponds to a landmark, and each column to a different cluster

col.names

A character vector of column names to be used for the analysis (these must correspond to the names of the columns in tab.clustered)

min.similarity

The minimum similarity value to be used as threshold to filter out edges. See the documentation for get_distances_from_landmarks

Value

Returns a new igraph object with the added cluster vertices


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