| process_ids {cmapR} | R Documentation |
Return a subset of requested GCTX row/colum ids out of the universe of all ids
process_ids(ids, all_ids, type = "rid")
ids |
vector of requested ids. If |
all_ids |
vector of universe of ids |
type |
flag indicating the type of ids being processed |
This is a low-level helper function which most users will not need to access directly
a list with the following elements
ids: a character vector of the processed ids
idx: an integer list of their corresponding indices in all_ids
Other GCTX parsing functions:
GCT,
append.dim(),
fix.datatypes(),
parse.gctx(),
read.gctx.ids(),
read.gctx.meta(),
write.gctx.meta(),
write.gctx(),
write.gct()
gct_file <- system.file("extdata", "modzs_n25x50.gctx", package="cmapR")
ids <- read_gctx_ids(gct_file)
processed_ids <- cmapR:::process_ids(ids[1:10], ids)
str(processed_ids)