brouwern / compbio2021

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

Specifying package while calling a function #49

Open ananya-venbakkam opened 2 years ago

ananya-venbakkam commented 2 years ago

I ran the ggmsa function without specifying the package (same with print_msa from compbio4all) and encountered no problem. Just wondering if there is any reason not to do this other than losing specificity about where the function comes from?

brouwern commented 2 years ago

As long as you run library(msa) you’re good

I do it to remind me where a functions is from and so that students don’t have to remember to use library()

On Mon, Oct 4, 2021 at 7:27 PM ananya-venbakkam @.***> wrote:

I ran the ggmsa function without specifying the package (same with print_msa from compbio4all) and encountered no problem. Just wondering if there is any reason not to do this other than losing specificity about where the function comes from?

— 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/49, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32NE5J66O5BNQIUYT5CSTUFIZ7HANCNFSM5FKPBCYA .

--

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