rcpp_distSTRING: rcpp_distSTRING

View source: R/RcppExports.R

rcpp_distSTRINGR Documentation

rcpp_distSTRING

Description

calculates pairwise distances using a score matrix

Usage

rcpp_distSTRING(dnavector, scoreMatrix, ncores = 1L, symmetric = 1L)

Arguments

dnavector

StringVector [mandatory]

scoreMatrix

NumericMatrix [mandatory]

ncores

number of cores [default: 1]

symmetric

symmetric score matrix [default: 1]

Value

list

Author(s)

Kristian K Ullrich

Examples

## load example sequence data
data("hiv", package="MSA2dist")
rcpp_distSTRING(dnavector=as.character(hiv), scoreMatrix=iupacMatrix())

kullrich/MSA2dist documentation built on Nov. 14, 2024, 5:39 p.m.