Hello,
I am trying to filter my variants based on population allele frequency with subsetMaf, but I cannot figure out how to keep all those variants without a value for gnomAD_AF . If I try:
subsetMaf(maf = aml, query = (is.na("gnomAD_AF") | "gnomAD_AF < 0.1"))
And get this error:
Error in is.na("gnomAD_AF") | "gnomAD_AF < 0.1" :
operations are possible only for numeric, logical or complex types
Hello, I am trying to filter my variants based on population allele frequency with subsetMaf, but I cannot figure out how to keep all those variants without a value for gnomAD_AF . If I try: subsetMaf(maf = aml, query = (is.na("gnomAD_AF") | "gnomAD_AF < 0.1")) And get this error: Error in is.na("gnomAD_AF") | "gnomAD_AF < 0.1" : operations are possible only for numeric, logical or complex types
Any ideas will be really appreciated :)
R version 4.3.1 maftools_2.18.0