Check annotation coverage and ID conflicts
Usage
rsem_annotation_qc(x, annotation, ids = attr(x, "gene_ids", exact = TRUE))Arguments
- x
The gene by sample table (TPM or counts), as returned by
rsem_read().- annotation
Path to a GTF file (plain or
.gz; GENCODE, Ensembl or NCBI, withgene_typeorgene_biotype), or a data frame with the columnsgene_id,gene_typeand optionallygene_name. It should be the annotation the RSEM reference was built from.- ids
The attribute
"gene_ids"of the tablersem_read()returned (default: that attribute ofx, when present). Rows are then matched to the annotation through their original gene IDs, which avoids losing genes whose OrgDb symbol differs from the GTF gene name. Without it, rows are matched by Ensembl ID or by gene name.