brouwern / compbio2021

Assignments for Computational Biology Fall 2021 at the University of Pittsburgh
0 stars 3 forks source link

Why use a for() loop instead of vectorization? #36

Open sevs617 opened 2 years ago

sevs617 commented 2 years ago

https://github.com/brouwern/compbio2021/blob/4fc22d26cd66119a177fd9572bd409ffa989216d/KEY-MSA-walkthrough-shroom.Rmd#L495

brouwern commented 2 years ago

a list works better for this workflow. the normal output of an vectorized input into entrez_fetch is a single fasta file. it would be nice if entrez_fetch had an arguement to chose the form of the output. wouldn't be hard to implement probably- I should write it up and suggest it to the author's of rentrez

On Mon, Oct 4, 2021 at 11:06 AM sevs617 @.***> wrote:

https://github.com/brouwern/compbio2021/blob/4fc22d26cd66119a177fd9572bd409ffa989216d/KEY-MSA-walkthrough-shroom.Rmd#L495

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/brouwern/compbio2021/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32NE7B24UY2B42ROML2RLUFG7HHANCNFSM5FJS7KIA .

--

Nathan L. Brouwer, PhD

@.***

Lecturer

Department of Biological Sciences https://www.biology.pitt.edu/

University of Pittsburgh

Biostatistics course: brouwern.github.io/BIOSC_1120/index.html

Research Associate

National Aviary, Dept. of Conservation & Field Research https://www.aviary.org/conservation

R code: github.com/brouwern

R tweets: @lobrowR https://twitter.com/lobrowR