bioinformatics toolbox: getpubmed.m does not return the expected number of records
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm running the 'getpubmed.m' script that is found in the bioinformatics toolbox. I'm using examples from the script.
Example1: out = getpubmed('breast+cancer+AND+BRCA1+AND+Clinical+Trial[PT]',...
'NumberOfRecords',20)
According the script maxnum = 50; % NUMBEROFRECORDS default is 50
However, running the above script the number of records returned is nine (9).
Example2: out = getpubmed('OBP+insect',...
'DateOfPublication','2018/1/1[DP]:2021/10/1[DP]');
give the same result (output of 9 records)
Is there a way to tweak with the script and get the requisite number of records. Thanks in advance for any suggestions
댓글 수: 0
채택된 답변
Ive J
2021년 12월 18일
편집: Ive J
2021년 12월 18일
getpubmed (and generally, most of the functions in Bioinformatics toolbox) are quite outdated and TMW for some reasons, does not put any effort in improving/expanding it's functionality.
x = webread('https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=json&retmax=20&sort=relevance&term=breast+cancer'); % retmax: max number of IDs to return
x.esearchresult.idlist % returned pumbed Ids
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Bioinformatics Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!