Package org.snpsift.lang.function
Class IsHet
- java.lang.Object
-
- org.snpsift.lang.expression.Expression
-
- org.snpsift.lang.function.Function
-
- org.snpsift.lang.function.FunctionBoolGenotype
-
- org.snpsift.lang.function.IsHet
-
public class IsHet extends FunctionBoolGenotype
Is 'genotypeNum' heterozygous?- Author:
- pablocingolani
-
-
Field Summary
-
Fields inherited from class org.snpsift.lang.expression.Expression
debug, negated, operator
-
-
Constructor Summary
Constructors Constructor Description IsHet(Expression exprIdx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Value
eval(org.snpeff.vcf.VcfEntry vcfEntry)
Evaluate expression using VcfEntryValue
eval(org.snpeff.vcf.VcfGenotype vcfGenotype)
Evaluate expression using genotype-
Methods inherited from class org.snpsift.lang.function.FunctionBoolGenotype
evalGenotype, toString
-
Methods inherited from class org.snpsift.lang.expression.Expression
setNegated
-
-
-
-
Constructor Detail
-
IsHet
public IsHet(Expression exprIdx)
-
-
Method Detail
-
eval
public Value eval(org.snpeff.vcf.VcfEntry vcfEntry)
Description copied from class:Expression
Evaluate expression using VcfEntry- Specified by:
eval
in classExpression
-
eval
public Value eval(org.snpeff.vcf.VcfGenotype vcfGenotype)
Description copied from class:Expression
Evaluate expression using genotype- Specified by:
eval
in classExpression
-
-