pstringdistmatrix: Parallel compute hamming distance between strings

Description Usage Arguments Details Author(s) See Also

View source: R/pstringdistmatrix.R

Description

Calculates the hamming distance matrix between strings.

Usage

1
2
3
 
  pstringdistmatrix(a, b, method = "h", filename = NULL, weight = NULL,
                 maxDist = 0, ncores = NULL)

Arguments

a

a: R object (target); will be converted by 'as.character'.

b

b: R object (source); will be converted by 'as.character'. Must be the same as argument a in this version of the software.

method

Method for distance calculation - only option 'h' for hamming distance is supported.

filename

Results will be stored here as binary data

weight

Not used in the hamming distance measure.

maxDist

Not used in the hamming distance measure.

ncores

Not used by SPRINT, please see the SPRINT user guide.

Details

Calculates the hamming distance between each pair of strings. Returns an ff result matrix.

N.B. Please see the SPRINT User Guide for how to run the code in parallel using the mpiexec command.

Author(s)

University of Edinburgh SPRINT Team sprint@ed.ac.uk www.r-sprint.org

See Also

stringdistmatrix SPRINT


sprint documentation built on May 30, 2017, 8:25 a.m.