Description Example Dataset See Also
A Package Providing Symmetric Matrices Partitioned into File-Backed Blocks.
The example dataset in the extdata
folder is the G matrix of the
dummy dataset that comes with the BEDMatrix
package. It has been
generated as follows:
1 2 3 4 | library(BGData)
X <- BEDMatrix(system.file("extdata", "example.bed", package = "BEDMatrix"))
G <- getG_symDMatrix(X, blockSize = 17, folderOut = "inst/extdata")
|
To load the dataset:
1 2 | load.symDMatrix(system.file("extdata", "G.RData", package = "symDMatrix"),
readonly = TRUE)
|
To demonstrate the as.symDMatrix
method for character vectors,
RData
files for each block have been generated:
1 2 3 4 5 6 7 |
symDMatrix-class
for the symDMatrix
class.
BEDMatrix-package
for more information on the
BEDMatrix
package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.