Exercise

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".

Instructions 1/3

undefined XP
    1
    2
    3
  • Load TxDb.Hsapiens.UCSC.hg38.knownGene using library(), assign it to hg, and print it.