make_marker_gene_compendium: make_marker_gene_compendium

Description Usage Arguments Details Value Examples

View source: R/c3_functions.R

Description

This function transforms a gene expression compendium into a marker gene compendium, using certain threshold parameters.

Usage

1
2
make_marker_gene_compendium(compendium.data, specific.cutoff = 0.05,
  top.expressed.genes = 500)

Arguments

compendium.data

A list consisiting of gene expression compendium (matrix) and compendium data species name, as returned by make_gene_expression_compendium.

specific.cutoff

A percentage threshold representing the maximum number of cell types in which a gene can be highly expressed in order for it to be considered a marker gene. Default is 0.05.

top.expressed.genes

The number of highest expressed genes from each cell/tissue that will be considered for marker gene status. Default is 500.

Details

This function transforms a gene expression compendium into a marker gene compendium, using certain threshold parameters. The two parameters decide what is considered 'highly expressed' and how few cell types is considered 'unique' enough to be a marker gene.

Value

This function returns a list with cell/tissue marker gene matrix, compendium common genes, species and top number of expressed genes. In the marker gene compendium (marker.genes.matrix), rows denote genes and columns denote cell types / tissues, containing presence (1) or absence (0) of marker genes for each cell type / tissue.

Examples

1
2
3
4
5
6
7
8
## Here we will use "human.encode.data" and "human.encode.data.descriptor" from C3 repository to make the compendium.
## These data sets are loaded automatically with the package.
## The gene expression data sets are in list format. Here every list element contains transcriptomic profile data of a cell or tissue type.
human.compendium<-make_gene_expression_compendium(gene.expression.data=human.encode.data, experiment.descriptor=human.encode.data.descriptor, expression.data.format="list")

## Finally we will make the marker gene compendium from the human.compendium
human.marker.gene.compendium<-make_marker_gene_compendium(compendium.data=human.compendium, specific.cutoff = 0.05, top.expressed.genes = 500)
summary(human.marker.gene.compendium)

VCCRI/C3 documentation built on May 14, 2019, 8:41 a.m.