--- title: "Homework 4" date: "November 21, 2019" author: "Write your name here" number: STUDENT_NUMBER subtitle: "Computing in Molecular Biology and Genetics I. Istanbul University." output: html_document: number_sections: yes self_contained: no --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) ``` 1. Download the file [`midterm.txt`](/static/2019/cmb1/midterm.txt), store it in your computer, and read it into a data frame called `midterm`. Show `summary(midterm)`. ```{r q1} # write here ``` 2. Plot the vector `midterm$Grade`. ```{r q2} # write here ``` 3. Change the plot character to a solid bullet. ```{r q3} # write here ``` 4. Change the color of all points to blue. ```{r q4} # write here ``` 5. Change the color of each point, depending on `midterm$Num_Homework`. The result should be like the following image. ```{r q5} # write here ``` 6. Now each point is red color, and the size depends on the number of homework delivered. The result should be like the following image. ```{r q6} # write here ``` 7. Change the symbol of each point, depending on the number of homework delivered. ```{r q7} # write here ``` 8. Now each point should have a solid symbol. These symbols are identified by number 15, 16, 17, and 18. ```{r q8} # write here ``` 9. Combine everything. Change the plot character, the color, and the symbol size, depending on the number of homework delivered. ```{r q9} # write here ``` 10. Change the plot symbol by a letter. The vector `LETTERS` can be useful. ```{r q10} # write here ``` 11. This time use lines. Draw the following figure. The black line shows the grades, the red line is `midterm$Num_Homework*33`. ```{r q11} # write here ```