Skip to content

Commit

Permalink
Merge pull request #1097 from ethanwhite/loops-exercise
Browse files Browse the repository at this point in the history
Add a dplyr verions to DNA orRNA iteration
  • Loading branch information
ethanwhite authored Oct 31, 2024
2 parents 31c9304 + 7fc403f commit 1cfbf06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exercises/Making-choices-dna-or-rna-iteration-R.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ sequences = c("ttgaatgccttacaactgatcattacacaggcggcatgaagcaaaaatatactgtgaaccaatgc
1. Use the function you wrote and a `for` loop to create a vector of sequence types for the values in `sequences`
2. Use the function and a `for` loop to create a data frame that includes a column of sequences and a column of their types
3. Use the function and `sapply` to create a vector of sequence types for the values in `sequences`
4. Use the function, and `dplyr` to create a data frame that inclues a column of sequences and a column of their types

*Optional: For a little extra challenge make your function work with both upper
and lower case letters, or even strings with mixed capitalization*

0 comments on commit 1cfbf06

Please sign in to comment.