powered by
Filter cells
# S3 method for cells filter(dl, .filter = function(x) x %in% cells, number = NULL, cells = sample(colnames(dl$expr), number))
de.lorean object
Function that gakes a list of cells as input and returns a vector of TRUE/FALSE
Number to sample if filter function or cells not supplied.
The cells to keep.
cells <- c('cell1', 'cell2', 'cell3', 'cell4') filter.cells(dl, .filter = function(x) x %in% cells) filter.cells(dl, number = 4) filter.cells(dl, cells = cells)
Run the code above in your browser using DataLab