Human genome chromosome X
It is your turn to use the TxDb.Hsapiens.UCSC.hg38.knownGene
package and extract information from it. Like in the video, you will subset all genes in chromosome X, using the function genes()
with the argument filter
set to select instances where tx_chrom = "chrX"
. Then, you will explore this subset of genes.
Remember that filter
receives a list()
of filter conditions to select specific genome intervals.
If you would like to test other filters, valid names for this list are: "gene_id"
, "tx_id"
, "tx_name"
, "tx_chrom"
, "tx_strand"
, "exon_id"
, "exon_name"
, "exon_chrom"
, "exon_strand"
, "cds_id"
, "cds_name"
, "cds_chrom"
, "cds_strand"
, and "exon_rank"
.
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 human reference genome hg38
library(___)
# Assign hg38 to hg, then print it
___
hg