Clear Filters
Clear Filters

Dot plot screen resolution

1 view (last 30 days)
Rafat Rahman
Rafat Rahman on 29 Jul 2011
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')

Answers (1)

Lucio Cetto
Lucio Cetto on 18 Oct 2011
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.

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!