Takes to motifs represented by PWMs and computes an alignment using some measure of motif similarity as scoring method. By default this is Pearson Correlation Coefficient (PCC). Alternatively can be Euclidean distance.

motifAlign(x1, x2, align.method = "local", score.method = "PCC", debug = FALSE)

Arguments

x1

motif 1.

x2

motif 2.

align.method

align method, one of "global" or "local" (default = local).

score.method

scoring method, one of "PCC" or "euclid" (default = PCC).

debug

logical; whether to show debugging information.

Value

AlignResult object.

Examples

NULL
#> NULL