Description Usage Arguments Value Note Author(s) Examples
View source: R/Preprocessing.R
Remove patients (rows) which are not in both matrices from patMutMatrix and patOutMatrix. Remove mutations (columns) from patMutMatrix if they are not a row of influenceGraph. Remove expressions (columns) from patOutMatrix if they are not a column of influenceGraph.
1 | preprocessMatrices(patMutMatrix, patOutMatrix, influenceGraph)
|
patMutMatrix |
Patient Mutation Matrix |
patOutMatrix |
Patient Outlier Matrix |
influenceGraph |
Influence Graph Matrix |
1 |
Reduced version of Patient Mutation Matrix |
2 |
Reduced version of Patient Expression(Outlier) Matrix |
3 |
Influence Graph Matrix |
The dimension of influenceGraph is not changed.
Ali Bashashati, Reza Haffari, Jiarui Ding, Gavin Ha, Kenneth Liu, Jamie Rosner and Sohrab Shah
Maintainer: Jiarui Ding <jiaruid@cs.ubc.ca>
1 2 3 4 5 6 7 8 9 | data(samplePatientMutationMatrix)
data(samplePatientOutlierMatrix)
data(sampleInfluenceGraph)
tmp = preprocessMatrices(samplePatientMutationMatrix, samplePatientOutlierMatrix,
sampleInfluenceGraph)
smallerPatientMutationMatrix = tmp[[1]]
smallerPatientOutlierMatrix = tmp[[2]]
influenceGraph = tmp[[3]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.