Description Usage Arguments Details Value Author(s)
doPatForCBN
produces a binary matrix with dimensions
patients x pathways, to be used as input by H-CBN. It can also write the
matrix to a file.
1 | doPatForCBN(groupsList, genesMat, write, path, name)
|
groupsList |
list with as many elements as mutually exclusive groups, each element consists of the genes assigned to the respective pathway |
genesMat |
binary alteration matrix with rows representing patients and columns representing genes, where an 1 indicates that a gene has been altered in one patient |
write |
boolean, indicating whether to also write the output matrix to a file. Default to FALSE. |
path |
path where the output matrix should be written. Default to "~/Dropbox/PathTiMEx/RPathTiMEx/txts". |
name |
name of the file to be written. Default to "outCBN". |
The matrix returned by this function is the binary alteration matrix
on the basis of which order constraints between pathways are inferred. The
input to this function are the assignment of genes to pathways (as a list)
and the binary alteration matrix on the level of genes. A pathway is
considered to be altered as soon as at least one of its gene members is
altered. If write=TRUE
and if path
and name
are
provided, the matrix is written to the file path/name.pat
.
binary alteration matrix representing the alteration of pathways in patients.
Simona Constantinescu, simona.constantinescu@bsse.ethz.ch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.