convNamesPairsToIndexPairs: Conversion of a set of names pairs to matrix of index pairs...

Description Usage Arguments Details Value See Also Examples

View source: R/sampleCompute.R

Description

Performs conversion of list of names pairs to a matrix of index pairs

Usage

1
convNamesPairsToIndexPairs(pair.list, full.name.set)

Arguments

pair.list

list of names pairs (vector of 2 names).

full.name.set

a vector of unique names.

Details

convNamesPairsToIndexPairs performs conversion of list of names pairs to a matrix of index pairs.

Value

the 2-column matrix of pairs of indexes.

See Also

computeSemiSupervised, KwaySSSC

Examples

1
2
3
4
5
6
7
x <- c("a"=10, "b"=20, "c"=30 )

ML <- list()
ML[[1]] <- c("a","c")
ML[[2]] <- c("c","d")

mustLink<-convNamesPairsToIndexPairs(ML,names(x))

RclusTool documentation built on Feb. 4, 2020, 5:08 p.m.