Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/906-parSeqSim.R
Protein/DNA Sequence Alignment for Two Protein Sequences
1 |
seq1 |
A character string, containing one protein sequence. |
seq2 |
A character string, containing another protein sequence. |
type |
Type of alignment, default is |
submat |
Substitution matrix, default is |
This function implements the sequence alignment between two protein/DNA sequences.
An Biostrings object containing the scores and other alignment information.
Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <http://nanx.me>
See parSeqSim
for paralleled pairwise
protein similarity calculation based on sequence alignment.
See twoGOSim
for calculating the
GO semantic similarity between two groups of GO terms or two Entrez gene IDs.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Be careful when testing this since it involves sequence alignment
# and might produce unpredictable results in some environments
require(Biostrings)
s1 = readFASTA(system.file('protseq/P00750.fasta', package = 'BioMedR'))[[1]]
s2 = readFASTA(system.file('protseq/P10323.fasta', package = 'BioMedR'))[[1]]
seqalign = twoSeqSim(s1, s2)
summary(seqalign)
s11 = readFASTA(system.file('dnaseq/hs.fasta', package = 'BioMedR'))[[1]]
s21 = readFASTA(system.file('dnaseq/hs.fasta', package = 'BioMedR'))[[2]]
seqalign1 = twoSeqSim(s11, s21)
summary(seqalign1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.