Session Ready
Exercise

How many transcripts?

Remember in the video how we discovered the length of the exons in one of the transcripts of our gene of interest? It is your turn to find out how many transcripts the gene ABCD1 has. You can find out by using:

transcriptsBy(x, by = "gene")

Once you get all the transcripts by gene, you can then select any gene by its id. The gene id of ABCD1 is 215. A little tip to select the information on a specific gene is to use back-tick marks around the gene id, for example transcripts$`215`.

Instructions
100 XP
  • Load the human transcripts DB to hg.
  • Pre-filter chromosome X using seqlevels().
  • Get all transcripts in hg by "gene", store results in hg_chrXt, and print it.
  • Select gene `215` from the transcripts using $.