forked from ParkerICI/vite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_highest_scoring_edges.Rd
25 lines (25 loc) · 1.07 KB
/
get_highest_scoring_edges.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scaffold.R
\name{get_highest_scoring_edges}
\alias{get_highest_scoring_edges}
\title{Add information about edge types and highest scoring edges}
\usage{
get_highest_scoring_edges(G)
}
\arguments{
\item{G}{The input \code{igraph} object}
}
\value{
Returns \code{G} with 3 added edge properties (\code{cluster_to_landmark}, \code{highest_scoring}, \code{inter_cluster}),
and an added vertex property (\code{highest_scoring_edge}), with the following meaning:
\itemize{
\item{\code{cluster_to_landmark}}: if this is 1, this edge is between a cluster and a landmark node
\item{\code{highest_scoring}}: if this is 1, this is the highest scoring edge among all the \code{"cluster_to_landmark"}
edges of a single cluster
\item{\code{inter_cluster}}: if this is 1, this is edge is between two clusters
\item{\code{highest_scoring_edge}}: a number representing the index of the \code{"highest_scoring"} edge for this vertex
}
}
\description{
Add information about edge types and highest scoring edges
}