Skip to contents

rsem_read() sums the rows of gene IDs that have the same symbol (or the same name from an annotation). rsem_id_report() lists these rows, so that the merging can be inspected, for example before using summed counts or averaged effective lengths downstream.

Usage

rsem_id_report(x)

Arguments

x

A table from rsem_read() or a function that keeps its "gene_ids" attribute.

Value

A data frame with one row per merged row: gene (the row name), n_ids, and gene_ids (the IDs, separated by commas). It has no rows when nothing was merged.

Details

The attribute "gene_ids" that rsem_read() sets, and the functions that keep it, are the source. For expr = "length" the merged value is a TPM-weighted mean of the lengths of different genes; it is not a length that RSEM estimated for one gene, so it is not suitable as a length offset.

Examples

if (FALSE) { # \dontrun{
x <- rsem_read("rsem", species = "human")
rsem_id_report(x)
} # }