Question: In R, write a function that will accept a character string representing a nucleic acid sequence and outputs the percent of bases that are either

In R, write a function that will accept a character string representing a nucleic acid sequence and outputs the percent of bases that are either G or C (GC content). Note that the sequence may consist of both upper and lower case letters. Test your function using the sequence: GCGCTATCAATTCGC

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!