Last data update: 2014.03.03
|
R: Parallel compute hamming distance between strings
pstringdistmatrix | R Documentation |
Parallel compute hamming distance between strings
Description
Calculates the hamming distance matrix between strings.
Usage
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
Results
|