Looking for some guidance.
In an introductory bioinformatics class I am tasked with doing the following in R:
- Create the sequence ACTGACTG
- Generate a random string of nucleotides with equal probabilities.
Are there certain functions that I should be looking at? No library or package or set of functions was provided so I am completely lost. I am assuming there must be functions in R that do these things that I need to manipulate, but I cannot seem to find any resources explaining that. I looked at seq() (thinking it might generate DNA sequences), but it only seems to generate sequences of integers. I also looked at randDNA(), but it is random, how could I make it generate the exact string in question 1).
Any direction will be greatly appreciated. Thanks.