powered by
Performs conversion of list of names pairs to a matrix of index pairs
convNamesPairsToIndexPairs(pair.list, full.name.set)
the 2-column matrix of pairs of indexes.
list of names pairs (vector of 2 names).
a vector of unique names.
convNamesPairsToIndexPairs performs conversion of list of names pairs to a matrix of index pairs.
computeSemiSupervised, KwaySSSC
computeSemiSupervised
KwaySSSC
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))
Run the code above in your browser using DataLab