build.scores.matrix | R Documentation |
Build a score matrix from file
build.scores.matrix.from.list(file = "scores.list.txt", split = "[(\t,|)]")
build.scores.matrix.from.tupla(file = "scores.tupla.txt")
file |
name of the text file to be read. The matrix of the input file can be either a list (e.g in the form |
split |
character vector containing a regular expression use for splitting. |
A named score matrix.
file.list <- system.file("extdata/scores.list.txt.gz", package="HEMDAG");
file.tupla <- system.file("extdata/scores.tupla.txt.gz", package="HEMDAG");
S <- build.scores.matrix.from.list(file.list, split="[(\t,|)]");
S <- build.scores.matrix.from.tupla(file.tupla);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.