matdist: Distance matrix of the similarity between the DNA sequences.

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/RcppExports.R

Description

This function receives a vector of strings representing codified DNA sequences and returns a integer matrix representing the similarities between all sequences from input vectors.

Usage

1
matdist(rrdnas)

Arguments

rrdnas

Vector of codified DNA sequences (character vector).

Value

Matrix n x n, where n is the length of the largest original DNA sequence.

Note

This function is used internally to compute data for rqcFileHeatmap function.

Author(s)

Welliton Souza

See Also

rqcFileHeatmap

Examples

1
2
3
dna1 <- toRRDNA("atcgn")
dna2 <- toRRDNA("atcga")
matdist(c(dna1, dna2))

labbcb/Rqc documentation built on Aug. 2, 2021, 8:43 a.m.