constructGeneData: For a given gene_id, extract its expression from...

Description Usage Arguments Value Author(s)

View source: R/expression_list_functions.R

Description

For a given gene_id, extract its expression from expression_matrix and join with metadata.

Usage

1
constructGeneData(gene_id, expression_matrix, sample_metadata)

Arguments

gene_id

Gene id, corresponds to a row name of expression matrix.

expression_matrix

Matrix of gene exrpression; rows - gene ids, cols - sample_ids.

sample_metadata

Data frame with metadata for each sample.

Value

data frame that has gene expression in value column and metadata in other columns.

Author(s)

Kaur Alasoo


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.