Learn R Programming

GraphAlignment (version 1.36.0)

CreateScoreMatrix: Create score matrix

Description

Create a score matrix from two lookup vectors.

Usage

CreateScoreMatrix(lookupX, lookupY)

Arguments

lookupX
x lookup vector
lookupY
y lookup vector

Value

The return value is a matrix of link scores.

Details

This function creates a very simple score matrix containing the product of lookup table values for each row and column as its elements. This can be used for testing purposes.

Examples

Run this code
  lookupLink <- 0.1*(-10:10)
  CreateScoreMatrix(lookupLink, lookupLink)

Run the code above in your browser using DataLab