sambarConvertgmt: Convert .gmt files into a binary matrix.

View source: R/SAMBAR.R

sambarConvertgmtR Documentation

Convert .gmt files into a binary matrix.

Description

Convert .gmt files into a binary matrix.

Usage

sambarConvertgmt(signature, cagenes)

Arguments

signature

A file containing gene sets (signatures) in .gmt format. These gene sets will be used to de-sparsify the gene-level mutation scores.

cagenes

A vector of genes, for example of cancer-associated genes. This will be used to subset the gene-level mutation data to.

Value

A matrix containing gene set mutation scores.


netZoo/netZooR documentation built on June 8, 2024, 6:20 a.m.