[Solved] R Question 3 Animals that are infected with a pathogen often have… | Course Hero

Asked by BaronTurtlePerson4221

R Question 3

Animals that are infected with a pathogen often have disturbed circadian rhythms. (A circadian rhythm is an endogenous daily cycle in a behavior or physiological trait that persists in the absence of time cues.) Shirasu-Hiza et al. (2007) wanted to know whether it was possible that the circadian timing mechanism itself could have an effect on disease. To test this idea they sampled from three groups of fruit flies: one “normal”, one with a mutation in the timing gene *tim01*, and one group that had the tim01 mutant in a heterozygous state. They exposed these flies to a dangerous bacteria, *Streptococcus pneumoniae*, and measured how long the flies lived afterwards, in days. The date file “circadian mutant health.csv” shows some of their data.

Submit your R code for this question.

a. Plot a histogram of each of the three groups. Do these data match the assumptions of an ANOVA?

b. Use a Kruskal-Wallis test to ask whether lifespan differs between the three groups of flies.

genotype days_to_death

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 1

tim01 2

tim01 2

tim01 2

tim01 2

tim01 2

tim01 2

tim01 2

tim01 2

tim01 2

tim01 2

tim01 2

tim01 2

tim01 3

tim01 3

tim01 3

tim01 4

tim01 5

tim01 6

tim01 6

tim01 9

tim01 10

tim01 12

tim01 15

tim01 18

tim01 (rescued) 2

tim01 (rescued) 2

tim01 (rescued) 2

tim01 (rescued) 3

tim01 (rescued) 3

tim01 (rescued) 3

tim01 (rescued) 3

tim01 (rescued) 4

tim01 (rescued) 4

tim01 (rescued) 4

tim01 (rescued) 6

tim01 (rescued) 6

tim01 (rescued) 6

tim01 (rescued) 6

tim01 (rescued) 7

tim01 (rescued) 7

tim01 (rescued) 7

tim01 (rescued) 8

tim01 (rescued) 8

tim01 (rescued) 9

tim01 (rescued) 9

tim01 (rescued) 10

tim01 (rescued) 10

tim01 (rescued) 10

tim01 (rescued) 10

tim01 (rescued) 11

tim01 (rescued) 13

tim01 (rescued) 13

tim01 (rescued) 15

tim01 (rescued) 16

tim01 (rescued) 18

tim01 (rescued) 18

tim01 (rescued) 18

tim01 (rescued) 18

tim01 (rescued) 18

tim01 (rescued) 18

tim01 (rescued) 18

tim01 (rescued) 18

tim01 (rescued) 18

wild type 1

wild type 1

wild type 1

wild type 2

wild type 2

wild type 2

wild type 3

wild type 4

wild type 5

wild type 5

wild type 5

wild type 6

wild type 7

wild type 8

wild type 10

wild type 10

wild type 14

wild type 15

wild type 16

wild type 17

wild type 17

wild type 17

wild type 18

wild type 18

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

wild type 20

Answer & Explanation

Solved by verified expert

Answered by SPD345

trices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus

Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet

Unlock full access to Course Hero

Explore over 16 million step-by-step answers from our library

Subscribe to view answer

ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor

ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet

dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacin

Step-by-step explanation

lestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac

Get your personalized original solution

Get 20% OFF your first order

We will deliver a custom paper tailored to your requirements with a good discount in 24 hours.

Every Solutions comes with:

Grade Guarantee of an A or B

Everything we submit comes with a grade guarantee of an A or B, and we hit this mark over ninety percent of the time!

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

100% Money Back Guarantee

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.

30 Day Revision Policy

You can ask for revisions until you are satisfied with the solution.

Timely Delivery with 24x7 support

No missed deadlines – 99% of assignments are completed in time.

FREE Plagiarism Report(Save $5)

We complete all papers from scratch and your solution is 100% original. You will get a plagiarism report.

FREE Bibliography Page(Save $5)

If you neeed a bibliography page, we shall provide it for free

FREE Title page(Save $10)

If you neeed a title page, we shall provide it for free.

FREE Formatting(APA, MLA, Harvard, Chicago/Turabian) (Save $15)

Depending with your Homework help, we shall provide formating for free

FREE Expert Proofreading(Save $10)

Get your paper checked by an expert proofreader: no grammatical and spelling mistakes, a perfect match with your requirements, and correspondence with the chosen academic level.

Get Expert's Solution(Save $45 + 5 hours)

20% Discount Promo Code: FIRSTTIME

Become an online tutor with phantomtutors.com

Ready to trade your skills for dollar bills?

Get Expert's Solution
(Save $45 + 5 hours)

20% Discount Promo Code: FIRSTTIME