DuplicationHandler: Remove Duplicated Gene Names from a FORESEE Object

Description Usage Arguments Value Examples

View source: R/DuplicationHandler.R

Description

DuplicationHandler finds duplicates in the gene names (features) from the FORESEE Object and summarizes or deletes them according to the user's preferences.

Usage

1
DuplicationHandler(Object, DuplicationHandling)

Arguments

Object

FORESEE Object (ForeseeCell or ForeseeTrain) that contains all data needed to train a model, including molecular data (such as gene expression, mutation, copy number variation, methylation, cancer type, etc. ) and drug response data

DuplicationHandling

Method for handling duplicates of gene names. The function 'mean' calculates the mean of all rows that have the same gene name, The function 'first' chooses the first hit of duplicated genes and discards the rest of genes with the same name, The function 'none' removes all gene names that occur more than once. The function 'listInputOptions("DuplicationHandler")' returns a list of the possible options. Instead of chosing one of the implemented options, a user-defined function can be used as an input.

Value

Object

The object with unique gene names

Examples

1
DuplicationHandler(GDSC,"first")

JRC-COMBINE/FORESEE documentation built on Jan. 24, 2020, 1:19 a.m.