Include personal scripts & algorithms in scientific paper as the title said I want to include a lot of scripts I wrote in scientific paper but how I do that do I upload them In GitHub &amp; then cite them or include them as additional materials at the end of the paper.
Thank in advance
Yes to both, though providing code through a service like GitHub may be preferable as you can obtain a citable DOI and your readers will know where to find updated code, if any. Figshare is another option. Providing code in your supplement can provide redundancy, especially if you would like readers to cite your paper when they use your code. See Rule 8 under these Ten Simple Rules for Taking Advantage of Git and GitHub for more details.