View source: R/preprocessing.R
detect_zero_value | R Documentation |
This function detects genes with more than 'threshold' percent of expression values under the min value. NA expression values are not considered.
detect_zero_value(controls, data_case, threshold, min = 0)
controls |
The first matrix with datas to analyze (ex: controls samples). |
data_case |
The second matrix with datas to analyze (ex: tumors samples). |
threshold |
The maximum proportion of expression under 'min' tolerated for each gene. |
min |
The minimum value accepted. |
This function returns a True/False vector with True for the values to exclude.
# Example for detect_zero_value function
data_ctrl = penda::penda_data_ctrl
data_case = penda::penda_data_case
null_values = penda::detect_zero_value(data_ctrl, data_case, threshold = 0.99, min = 10)
data_ctrl_f = data_case[!null_values,]
data_case_f = data_case[!null_values,]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.