filter_expression_table {scFeatureFilter} | R Documentation |
Takes a binned expression table (the output of bin_scdata
), a bin number
(usually the output of determine_bin_cutoff
) and returned a filtered expression
table or matrix.
filter_expression_table(bined_table, bin_cutoff, as_matrix = FALSE)
bined_table |
A |
bin_cutoff |
the number of the first bin to be filtered out. Can be the
output of |
as_matrix |
A boolean. Should the return be a |
A tibble
or a matrix
depending on the value of as_matrix
bin_scdata
, determine_bin_cutoff
myData <- tibble::data_frame( bin = rep(c(1, 2, 3), each = 3), mean = 9:1, sd = runif(9), cv = runif(9), cell1 = 8:0 + runif(9), cell2 = 8:0 + runif(9) ) filter_expression_table(myData, bin_cutoff = 2) filter_expression_table(myData, bin_cutoff = 3)