All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
In principle, the money that is donated in charity should be spent according to charitable fields which are specified by the donors. However, in case the donors did not specify a particular field, and the organization which gathers the donations use them for a specific purpose that is previously declared, or gives it to a fund that carries out charitable works, then it should only be used in these fields.
However, since you mentioned that among the work of this organization is that it carries out general programmes for the community, without the donors conditioning that this money be spent on research purposes only, then we hope that it is permissible to give this money to any trustworthy charitable organization so that it will spend it in any charitable fields from which the Muslim community benefits.
Allaah Knows best.