A course-based letter from a named professor or a research letter from a young no-name researcher?
Assuming you cannot submit both, I would go for the second one. You are applying to a research program and have research experience: the committee are going to be interested in that. If the committee is interested in your grades, they can already see them in your transcript.