Dot plot screen resolution
1 次查看(过去 30 天)
显示 更早的评论
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 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!