This is probably fun to write, but it's been done many times before. For practical purposes, use the pairwiseAlignment() function in the Biostrings package, distributed by the bioconductor project.
cf.: https://www.bioconductor.org/packages/3.3/bioc/vignettes/Biostrings/inst/doc/PairwiseAlignments.pdf Cheers, Boris On Feb 28, 2016, at 12:44 PM, Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote: > Quite possibly, if Google is to be trusted. > -- > Sent from my phone. Please excuse my brevity. > > On February 28, 2016 1:03:28 AM PST, "Matej Matjašec" > <matej.matja...@gmail.com> wrote: >> Hello, >> >> I need some instruction about R studio library, that using algorithm >> Needleman - Wunsch and Smith - Waterman. How can I present this >> algorithm >> in R, calculate maximum score sequence alignment ? >> >> It is possible that things in R? >> >> Thank you very much in advance for your reply. >> >> Greetings, Matej >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.