removeFromGeMS: Rmove one or gene sets of the same source and user from GeMS

View source: R/GeMS.R

removeFromGeMSR Documentation

Rmove one or gene sets of the same source and user from GeMS

Description

Rmove one or gene sets of the same source and user from GeMS

Usage

removeFromGeMS(
  setName = "",
  source = "",
  user = ribiosUtils::whoami(),
  subtype = ""
)

Arguments

setName

A vector of character strings, defining set names to be renamed. They must all have the same source, user, and subtype

source

Character string, source of the gene set(s)

user

Character string, user name

subtype

Character string, subtype of the gene set(s)

Value

Response code or error message returned by the GeMS API. A value of 200 indicates a successful insertion.

See Also

insertGmtListToGeMS

Examples

## Not run: 
  testList <- list(list(name="GS_A", desc=NULL, genes=c("MAPK14", "JAK1", "EGFR")),
    list(name="GS_B", desc="gene set B", genes=c("ABCA1", "DDR1", "DDR2")),
    list(name="GS_C", desc="gene set C", genes=NULL))
  testGmt <- BioQC::GmtList(testList)
  ## insertGmtListToGeMS(testGmt, geneFormat=0, source="Test")
  ## removeFromGeMS(setName=c("GS_A", "GS_B", "GS_C"), source="Test")

## End(Not run)

bedapub/ribiosGSEA documentation built on March 30, 2023, 3:26 p.m.