Eliminate redundancy in biomaRt (2.38.0) query
1
0
Entering edit mode
olibee1315 • 0
@olibee1315-21561
Last seen 2.1 years ago

I am using biomaRt (2.38.0) to retrieve genome data from Ensembl. When using the web interface to do this, there is a check-box option to limit a query to unique results only. This eliminates redundancy in the output.

Is there any way to implement the 'unique results only' option using biomaRt (2.38.0)?

biomaRt Ensembl • 221 views
ADD COMMENT
0
Entering edit mode
Mike Smith ★ 5.1k
@mike-smith
Last seen 2 hours ago
EMBL Heidelberg / de.NBI

The getBM() function has the argument uniqueRows which toggles this behaviour. However the default value is TRUE so it should do this unless explicitly asked not to. Do you have an example query where it isn't working correctly?

ADD COMMENT

Login before adding your answer.

Traffic: 296 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6