findMotifWithConsensus: Finds score and consensus along with aligment and profile...

Description Usage Arguments Value Examples

Description

Finds score and consensus along with aligment and profile matrices for given DNA sequences and start positions.

Usage

1
findMotifWithConsensus(DNA, startPositions, l)

Arguments

DNA

A matrix with DNA sequences in each row.

startPositions

A vector with start position for every DNA sequence.

l

Lenght of the motif.

Value

List with the aligment matrix, profile matrix, score and consensus.

Examples

1
2
3
DNA <- matrix(c("A","C","A","C","A","C","G","A","A","C","U","G","A","C","G","C","A","C","G","G","G","C","U","A"), nrow=4, ncol=6)
startPositions <- c(1,2,1,3)
findMotifWithConsensus(DNA, startPositions, 4)

frosinastojanovska/Bioinformatics documentation built on May 16, 2019, 3:32 p.m.