get_gene_expression: Get expression of gene by indices in a dds

View source: R/utils.R

get_gene_expressionR Documentation

Get expression of gene by indices in a dds

Description

Get expression of gene by indices in a dds

Usage

get_gene_expression(dds, gene_indices, assay)

Arguments

dds

A DESeqDataSet

gene_indices

integer vector that refer to the row number of genes to retrieve

assay

integer, assay index that refers to the desired expression data slot

Details

Importantly, returns data as a data.frame without dropping dimensions.

Value

A dataframe where row names are sample names, and column names are gene names


McConkeyLab/bladdr documentation built on April 6, 2024, 3:15 a.m.