Skip to content

Commit f74b45e

Browse files
committed
moved episodes
1 parent a22cdc5 commit f74b45e

7 files changed

Lines changed: 4 additions & 3477 deletions

File tree

_episodes/01-intro.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ o
137137
>
138138
> Count the number of Gs in the sequence above using a `for` loop. What is the difference between Python (see above) and R (in solution below) implementations?
139139
>
140-
> > ## Solution
140+
<!-- > > ## Solution
141141
> > ~~~
142142
> > seq <- 'GACTTAATGGGCAATAGGCAAGCACTTGAAAAAGATGCCAACGACATGAAAACACAAGACAA'
143143
> > seq_split <- strsplit(seq, "")[[1]]
@@ -149,14 +149,14 @@ o
149149
> > }
150150
> > print(count)
151151
> > ~~~
152-
> {: .solution}
152+
> {: .solution} -->
153153
{: .challenge}
154154
155155
> ## What is the simplest way to count the Gs?
156156
>
157157
> Count the number of Gs in the sequence above using either R or Python in a simpler way.
158158
>
159-
> > ## Python Solution
159+
<!-- > > ## Python Solution
160160
> > ~~~
161161
> > seq <- 'GACTTAATGGGCAATAGGCAAGCACTTGAAAAAGATGCCAACGACATGAAAACACAAGA'
162162
> > print(seq.count('G'))
@@ -170,7 +170,7 @@ o
170170
> > library(stringr)
171171
> > str_count(seq,'G')
172172
> > ~~~
173-
> {: .solution}
173+
> {: .solution} -->
174174
{: .challenge}
175175
176176
There are a lot of blogs and articles comparing R and Python. Many of these comparisons (like this [infographic](https://www.datacamp.com/community/tutorials/r-or-python-for-data-analysis#gs.3P0PoiY)) do not tell you which is "better". That's because this is up to you. It really depends on what you're trying to do. Typically for a lot of bioinformatics projects, you will find yourself needing to know both. This is simply because many of the very useful tools for working with biological data are written in a variety of languages. Thus, it is up to the researcher to interact with them and develop cohesive pipelines for data curation and analysis.

0 commit comments

Comments
 (0)