Discovering the yeast genome
You'll begin to explore the yeast genome for yourself using the package BSgenome.Scerevisiae.UCSC.sacCer3
, which is already installed for you.
As with other data in R, you can use head()
and tail()
to explore the yeastGenome
object. You can also subset the genome by chromosome by using $
syntax as follows: object_name$chromosome_name
.
The names of the chromosomes can be obtained using the names()
function, and nchar()
can be used to count the number of characters in a sequence.
This exercise is part of the course
Introduction to Bioconductor in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Load the yeast genome
___
# Assign data to the yeastGenome object
yeastGenome <- ___