convert_ensembl2entrez: Given featurecounts matrix & annotation, roll results up to...

Description Usage Arguments Value

Description

Given featurecounts matrix & annotation, roll results up to the entrez gene id, combining ensembl records mapping to the same gene

Usage

1
2
convert_ensembl2entrez(counts, annotation_df,
  original_id = "original_id", gene_id = "gene_id")

Arguments

counts

counts matrix with rows per gene (named) & columns per sample (named)

annotation_df

annotation df containing at least the original & gene ids

original_id

character field name in the annotation df corresponding to row names in fc$counts matrix

gene_id

character field name in the annotation df corresponding to the levels at which we want counts aggregated

Value

fc object with updated counts matrix & annotation df filtered to distinct gene_ids


jburos/fcutils documentation built on Dec. 5, 2019, 6:26 p.m.