set_const_NK_interactionsMat {rSHAPE} | R Documentation |
This is a function to just return a matrix that defines the sitewise dependencies for an NK fitness landscape. If K == 0 or, this is not an NK simulation, it return NULL
Description
This is a function to just return a matrix that defines the sitewise dependencies for an NK fitness landscape. If K == 0 or, this is not an NK simulation, it return NULL
Usage
set_const_NK_interactionsMat(func_simModel = getOption("shape_simModel"),
func_genomeLength = getOption("shape_genomeLength"),
func_numInteractions = getOption("shape_const_numInteractions"))
Arguments
func_simModel |
This is the fitness landscape model being simulated |
func_genomeLength |
This is the number of sites in the genome being simulated |
func_numInteractions |
An integer value defining the number of sites that interact with each other site |
Value
Either NULL, or a matrix with K + 1 columns, detailing the sites interacting with a focal site - identified by the row number and the cell values of the columns.
Note
There is no example as this cannot work outisde of a runSHAPE call, it requires data produced by the simulation experiment.
[Package rSHAPE version 0.3.2 Index]