parse_gctx | R Documentation |
Parse a GCTX file into the R workspace as a GCT object
parse_gctx(
fname,
rid = NULL,
cid = NULL,
set_annot_rownames = FALSE,
matrix_only = FALSE
)
fname |
character(1), path to the GCTX file on disk |
rid |
either a vector of character or integer row indices or a path to a grp file containing character row indices. Only these indices will be parsed from the file. |
cid |
either a vector of character or integer column indices or a path to a grp file containing character column indices. Only these indices will be parsed from the file. |
set_annot_rownames |
boolean indicating whether to set the rownames on the row/column metadata data.frames. Set this to false if the GCTX file has duplicate row/column ids. |
matrix_only |
boolean indicating whether to parse only the matrix (ignoring row and column annotations) |
gct object
gctx <- system.file("extdata", "test_sample_n2x12328.gctx",
package="signatureSearch")
gct <- parse_gctx(gctx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.