build.scores.matrix {HEMDAG} | R Documentation |
Build scores matrix
Description
Build a scores matrix from file
Usage
build.scores.matrix.from.list(file = "scores.list.txt", split = "[(\t,|)]")
build.scores.matrix.from.tupla(file = "scores.tupla.txt")
Arguments
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. |
Value
A named scores matrix.
Examples
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);
[Package HEMDAG version 2.7.4 Index]