seqdotplot matlab,Create dot plot of two sequences

seqdotplot

Create dot plot of two sequences

Syntax

seqdotplot(Seq1, Seq2)

seqdotplot(Seq1,Seq2, Window, Number)

Matches = seqdotplot(...)

[Matches, Matrix] = seqdotplot(...)

Arguments

Seq1, Seq2Nucleotide or amino acid sequences. Enter a character vector or string for each sequence. Do

not enter a vector of integers. You can also enter

a structure with the field

Sequence.

WindowEnter an integer for the size of a window.

NumberEnter an integer for the number of characters within the window

that match.

Description

seqdotplot(Seq1, Seq2) plots

a figure that visualizes the match between two sequences.

seqdotplot(Seq1,Seq2, Window, Number) plots

sequence matches when there are at least Number matches

in a window of size Window.

When plotting nucleotide sequences, start with a Window of 11 and Number of 7.

Matches = seqdotplot(...) returns

the number of dots in the dot plot matrix.

[Matches, Matrix] = seqdotplot(...) returns

the dot plot as a sparse matrix.

Examples

This example shows the similarities between the prion protein

(PrP) nucleotide sequences of two ruminants, the moufflon and the

golden takin.

moufflon = getgenbank('AB060288','Sequence',true);

takin = getgenbank('AB060290','Sequence',true);

seqdotplot(moufflon,takin,11,7)

b762b9ba1b9756bc491652fceef5fe7d.gif

Note

For the correct interpretation of a dot plot, your monitor's

display resolution must be able to contain the sequence lengths. If

the resolution is not adequate, seqdotplot resizes

the image and returns a warning.

Matches = seqdotplot(moufflon,takin,11,7)

Matches =

5552

[Matches, Matrix] = seqdotplot(moufflon,takin,11,7)

Introduced before R2006a

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值