powered by
Filter genes
filter_genes(dl, .filter = function(x) x %in% genes, number = NULL, genes = sample(rownames(dl$expr), number))
de.lorean object
Function that takes a list of genes as input and returns a vector of TRUE/FALSE
Number to sample if filter function or genes not supplied.
The genes to keep.
# NOT RUN { data(WindramDeLorean) dl <- de.lorean(windram.expr, windram.gene.meta, windram.cell.meta) dl <- filter_genes(dl, number = 37) # }
Run the code above in your browser using DataLab