Dot plot screen resolution

조회 수: 1 (최근 30일)
Rafat Rahman
Rafat Rahman 2011년 7월 29일
Error:
warning('Bioinfo:seqdotplot:imageTooBigForScreen',...
['Match matrix has more points than available screen pixels.'...
'\n Scaling image by factors of %d in X and %d in Y'],...
downSampleX,downSampleY)
I'm attempting to create dot plots that compare sequence similarity, however I'm getting the above error message. How can I compensate for this?
Code:
%5.Get sequence for Nucleotide Dotplot
AHSVNM1194H5N1 = getgenbank('EF541402', 'SequenceOnly', true)
AHSINS5H5N1 = getgenbank('EF541394', 'SequenceOnly', true)
%6. Create Dotplots
seqdotplot(AHSVNM1194H5N1,AHSINS5H5N1,11,7)
title('Dot Plot of A/Viet Nam/1194/04 & A/Indonesia/5/05')
ylabel('A/Viet Nam/1194/05 H5N1');xlabel('A/Indonesia/5/05 H5N1')
  댓글 수: 1
Walter Roberson
Walter Roberson 2011년 7월 29일
Use a higher screen resolution?

댓글을 달려면 로그인하십시오.

답변 (1개)

Lucio Cetto
Lucio Cetto 2011년 10월 18일
You could visualize the dot plot by regions:
seqdotplot(AHSINS5H5N1(1:500),AHSINS5H5N1(1:500),11,7)
seqdotplot(AHSINS5H5N1(501:1000),AHSINS5H5N1(501:1000),11,7)
seqdotplot(AHSINS5H5N1(1000:end),AHSINS5H5N1(1000:end),11,7)
or if it is just the warning message what annoys you and you are OK with the subsampling, you can do:
warnStat = warning('off','bioinfo:seqdotplot:imageTooBigForScreen');
seqdotplot(AHSINS5H5N1,AHSINS5H5N1,11,7)
warning(warnStat)
The last would allow you to visualize repetitive patterns that may exist in your sequences.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by