isSignatureSet: isSignatureSet

View source: R/helper_functions_for_class_checks.R

isSignatureSetR Documentation

isSignatureSet

Description

'isSignatureSet()' checks whether the input object is a set (list) of numeric objects compatible with either the Alexandrov format (probability vectors; see isAlexandrovSet) or the Shiraishi format (matrices or data.frames of probabilities; see isShiraishiSet). NOTE: These can also be genomes compatible with one of the two formats!

Usage

isSignatureSet(x)

Arguments

x

Object to be checked.

Value

Logical value (true or false).

Author(s)

Rosario M. Piro
Politecnico di Milano
Maintainer: Rosario M. Piro
E-Mail: <rmpiro@gmail.com> or <rosariomichael.piro@polimi.it>

References

http://rmpiro.net/decompTumor2Sig/
Krueger, Piro (2019) decompTumor2Sig: Identification of mutational signatures active in individual tumors. BMC Bioinformatics 20(Suppl 4):152.

See Also

decompTumor2Sig
isAlexandrovSet
isShiraishiSet

Examples


### get Alexandrov signatures from COSMIC
signAlexandrov <- readAlexandrovSignatures()

isSignatureSet(signAlexandrov)

rmpiro/decompTumor2Sig documentation built on May 15, 2022, 3:27 a.m.