| lxb2mat {cmapR} | R Documentation |
Read an LXB file and return a matrix
lxb2mat(lxb_path, columns = c("RID", "RP1"), newnames = c("barcode_id", "FI"))
lxb_path |
the path to the lxb file |
columns |
which columns in the lxb file to retain |
newnames |
what to name these columns in the returned matrix |
a matrix
Other CMap parsing functions:
parse.gmt(),
parse.gmx(),
parse.grp(),
write_gmt(),
write_grp()
lxb_path <- system.file("extdata", "example.lxb", package="cmapR")
lxb_data <- lxb2mat(lxb_path)
str(lxb_data)