Subset expression matrix by thresholds

subset_genes_by_thresholds(
  expr.mat,
  mean_tpm_threshold,
  cv_threshold,
  reference_means,
  reference_cvs
)

Arguments

expr.mat

A matrix of expression values

mean_tpm_threshold

The mean TPM threshold. Genes with values above this threshold will be retained

cv_threshold

The coefficient of variation threshold. Genes with values below this threshold will be retained

reference_means

The reference means, generated by the calculate_reference_set_mean_expression function

reference_cvs

The reference CVs, generated by the calculate_reference_set_coefficient_of_variation function

Value

expr.mat