Description Usage Arguments Details Value Examples
Prune interaction networks to keep only the networks and patients requested
1 2 3 4 5 6 7 8 |
oldDir |
(char) path to directory with original networks |
newDir |
(char) path to output directory for pruned networks |
filterNets |
(char) vector of networks to include. These should
match filenames in |
filterIDs |
(char) patients to include in pruned networks. These should match nodes in the input interaction networks |
netSfx |
(char) suffix for network file names. Only used if
|
verbose |
(logical) print messages |
This function is crucial for patient data that is highly sparse; examples include patient CNVs indels, as opposed to full matrix measures (gene expression, questionnaire data). Each step where the pool of patients is subset - e.g. limiting feature selection only to patients in training set - changes the set of networks that are eligible. Some networks may only contain test patients, while others may contain a single edge between a training and a test patient. Upon subsetting, such networks are no longer eligible for downstream use, such as feature selection. This function rewrites those subnetworks of the original networks that consist of eligible patients.
(no value). Side effect of writing pruned network files to
newDir
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.