View source: R/filteringPaths.R
filteringPaths | R Documentation |
This function eliminates gene sets with low expression in both groups in a study
filteringPaths(objectMApath, threshold = 0.65, n_cores = 1)
objectMApath |
A list of list. Each list contains two elements. The first element is the Gene Set matrix (gene sets in rows and samples in columns) and the second element is a vector of zeros and ones that represents the state of the different samples of the Gene Sets matrix. 0 represents one group (controls) and 1 represents the other group (cases). |
threshold |
A number that indicates the threshold to eliminate a gene set. For a eliminate a gene set is necessary that the median for both groups are less than the threshold If threshold = "sd" the threshold will be the standard deviation of the gene set. The default value is 0.65. |
n_cores |
A number that indicates the number of cores to use in the parallelization. The default value is 1. |
The same objectMApath list but with the gene sets that do not meet the threshold eliminated.
Juan Antonio Villatoro Garcia, juanantoniovillatorogarcia@gmail.com
createObjectMApath
data("simulatedData")
newObject <- filteringPaths(objectMApathSim, threshold = "sd")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.