retrieve_binaryString: This is a function to search our mutational database and then...

Description Usage Arguments Value Note

View source: R/sourceSHAPE.R

Description

This is a function to search our mutational database and then find the binary string of the genotypeID passed. This function is more efficient when the number of mutations for each genotypeID be passed as this helps reduce the tables of the mutational space that are searched. This matters when large genotypes are simulated.

Usage

1
2
retrieve_binaryString(func_genotypeID, func_numMuts = NULL,
  func_subNaming, func_landscapeCon)

Arguments

func_genotypeID

This is a vector of the unique genotype ID for each tracked population in the community.

func_numMuts

This is a vector of the number of mutations held within each tracked genotype.

func_subNaming

This is a logical which controls if the tables which report on all genotypes with X mutations should be forced into a single table or it SHAPE is allowed to split them into multiple tables.

func_landscapeCon

This is the filepath to an SQLite database storing information for the complete explored and neighbouring fitness landscape of a SHAPE run.

Value

This returns a vector of character strings that represent the binary strings of the genotypes

Note

There is no example as this cannot work outisde of a runSHAPE call, it requires data produced by the simulation experiment.


rSHAPE documentation built on July 19, 2019, 5:05 p.m.