Dna.get_variant_bulk_metrics
Dna.get_variant_bulk_metrics#
- Dna.get_variant_bulk_metrics(variants=None)#
Metrics for each variant.
Combining this with get_annotations provides equivalent information as the Tapestri Insights v2.2 variants table. The metrics are generated using the NGT_FILTERED, AF, and DP layers of the assay.
- Parameters
- variantslist
List of variants for which the metrics are to be generated for (e.g. [‘chr1:12341234:T/A’]). By default it will get annotations for all variants from the assay.
- Returns
- variantspandas.DataFrame
- A dataframe containing the following values for each variant:
Number of genotyped cells
Number of cells mutated
VAF by cell count
VAF by read count
Number of filtered WT cells
Number of filtered HET cells
Number of filtered HOM cells
VAF of filtered WT cells
VAF of filtered HET cells
VAF of filtered HOM cells