Skip to content

Commit 7fc403f

Browse files
committed
Add a dplyr verions to DNA orRNA iteration
1 parent 31c9304 commit 7fc403f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exercises/Making-choices-dna-or-rna-iteration-R.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ sequences = c("ttgaatgccttacaactgatcattacacaggcggcatgaagcaaaaatatactgtgaaccaatgc
2323
1. Use the function you wrote and a `for` loop to create a vector of sequence types for the values in `sequences`
2424
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
2525
3. Use the function and `sapply` to create a vector of sequence types for the values in `sequences`
26+
4. Use the function, and `dplyr` to create a data frame that inclues a column of sequences and a column of their types
2627

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

0 commit comments

Comments
 (0)