module BioTCM::Databases::HGNC::Extentions::String
{HGNC}'s extention to String
Public Instance Methods
formal_symbol?()
click to toggle source
Check the gene symbol whether formal
# File lib/biotcm/databases/hgnc/core_ext.rb, line 20 def formal_symbol? empty? ? false : self == to_formal_symbol end
formalize_symbol()
click to toggle source
Formalize the gene symbol @return '' if fails to formalize @deprecated Use {#to_formal_symbol} instead
# File lib/biotcm/databases/hgnc/core_ext.rb, line 9 def formalize_symbol to_formal_symbol end
to_formal_symbol()
click to toggle source
Convert to a formal symbol @return '' if fails to formalize
# File lib/biotcm/databases/hgnc/core_ext.rb, line 15 def to_formal_symbol symbol2hgncid.hgncid2symbol end