This is from the Yale website:
"A Holistic Approach to Admissions
The high school transcript is almost always the most important document in a student’s application. But it is hard to conceive of a situation in which the appearance (or absence) of any one particular class on a transcript would determine the applicant’s outcome. The admissions committee does not make its decisions based on a piecemeal review of an applicant’s recommendations, test scores, activities, or individual elements of a high school transcript. It considers each application as a comprehensive picture of that student.
When the admissions committee looks at your transcript, it will not focus on whether you have taken any specific course. It will be far more interested to see that you have challenged yourself with difficult coursework, and have done well."