createedges function

Creates an untargeted graph from a biological sequence

Creates an untargeted graph from a biological sequence

A function that from a biological sequence generates a graph not addressed having as words vertices, this being able to have its size parameter set by the' word 'parameter. The connections between words depend of the' step 'parameter that indicates the next connection to be formed

createedges(sequence, word = 3, step = 1)

Arguments

  • sequence: It is a vector that represents the sequence
  • word: This integer parameter decides the size of the word that will be formed
  • step: It is the integer parameter that decides the step that will be taken to make a new connection

Returns

Returns the array used to creates the edge list

Author(s)

Murilo Montanini Breve

  • Maintainer: Fabricio Martins Lopes
  • License: GPL-3
  • Last published: 2023-08-16

Useful links