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 Oct. 16, 2024, 10:23 p.m.