compareProfiles: comapre w pcm

Description Usage Arguments Value

View source: R/matalign.R

Description

compare two pcm objects

Usage

1
2
3
4
5
6
7
compareProfiles(
  pcm1,
  pcm2,
  method = c("Smith-Waterman", "Needleman-Wunsch"),
  pseudo = 1,
  revcomp = TRUE
)

Arguments

pcm1, pcm2

object of pcm

method

Alignment method. "Smith-Waterman" or "Needleman-Wunsch". Default is "Smith-Waterma"

pseudo

pseudocount

revcomp

Check reverseComplement or not.

Value

a list with names: motif1, motif2, alignmentScore, startPos1, startPos2, endPos1, endPos2, alignmentLength.


motifStack documentation built on Nov. 8, 2020, 7:43 p.m.