R Under development (unstable) (2025-09-02 r88773 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(SVAlignR) > data(longreads) > seqs <- longreads$connection[1:15] > pad <- c(rep("0", 9), rep("", 6)) > names(seqs) <- paste("LR", pad, 1:length(seqs), sep = "") > seqs <- seqs[!duplicated(seqs)] > > try( makeSubsMatrix(match = "13") ) Error in makeSubsMatrix(match = "13") : Both parameters must be numeric. > try( makeSubsMatrix(mismatch = "13") ) Error in makeSubsMatrix(mismatch = "13") : Both parameters must be numeric. > > mysub <- makeSubsMatrix(match = 2, mismatch = -6) > > ## test the 'alignCluster' method > try( alignCluster(13) ) Error in strsplit(sampleText, split) : non-character argument > > ab <- alignCluster(seqs, mysub) use user defined matrix > image(ab) > > proc.time() user system elapsed 2.60 0.39 2.98