Class FunctionBoolGenotype

Direct Known Subclasses:
IsHet, IsHom, IsRef, IsVariant

public abstract class FunctionBoolGenotype extends Function
A function that returns a bool type (i.e. true or false). The function is evaluated on a genotype
Author:
pablocingolani
  • Constructor Details

    • FunctionBoolGenotype

      public FunctionBoolGenotype(String functionName, Expression exprIdx)
  • Method Details

    • evalGenotype

      protected org.snpeff.vcf.VcfGenotype evalGenotype(org.snpeff.vcf.VcfEntry vcfEntry)
      Evaluate index expression and obtein genotype
    • toString

      public String toString()
      Overrides:
      toString in class Function