filter_genes: Filter genes

Description Usage Arguments Examples

View source: R/model.r

Description

Filter genes

Usage

1
2
filter_genes(dl, .filter = function(x) x %in% genes, number = NULL,
  genes = sample(rownames(dl$expr), number))

Arguments

dl

de.lorean object

.filter

Function that gakes a list of genes as input and returns a vector of TRUE/FALSE

number

Number to sample if filter function or genes not supplied.

genes

The genes to keep.

Examples

1
2
3
data(WindramDeLorean)
dl <- de.lorean(windram.expr, windram.gene.meta, windram.cell.meta)
dl <- filter_genes(dl, number = 37)

JohnReid/DeLorean documentation built on July 21, 2018, 11:11 a.m.