Chapter 10 of 461 min read
Writing Your Own Functions
No. 08 A function packages a set of steps into a reusable tool — write a calculation once, run it on any gene, any sample, forever. gc_content <- function ( seq ) { bases <- strsplit(seq, "")[[1]] gc <- sum(bases %in%…
Create a free account to keep reading
“Writing Your Own Functions” is free to read — we just need a name and an email so we can save your progress. No password, no card.
- Python and R courses free in full
- First two chapters of every other course