View source: R/data_filtering.R
filter_non_zero_percentage | R Documentation |
Given a value matrix (features are columns, samples are rows), and sample classes, find those things that are not zero in at least a certain number of one of the classes, and keep them
filter_non_zero_percentage(data_matrix, sample_classes = NULL, keep_num = 0.75)
data_matrix |
the matrix of values to work with |
sample_classes |
the classes of each sample |
keep_num |
what number of samples in each class need a non-zero value (see Details) |
This function is being deprecated and all code should use the
keep_non_zero_percentage
function instead.
matrix
keep_non_zero_percentage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.