|
| 1 | +Adir1 |
| 2 | +===== |
| 3 | + |
| 4 | +This page provides a curated list of functions and properties available in the ``malariagen_data`` API |
| 5 | +for data on mosquitoes from the *Anopheles dirus* complex. |
| 6 | + |
| 7 | +To set up the API, use the following code:: |
| 8 | + |
| 9 | + import malariagen_data |
| 10 | + adir1 = malariagen_data.Adir1() |
| 11 | + |
| 12 | +All the functions below can then be accessed as methods on the ``adir1`` object. E.g., to call the |
| 13 | +``sample_metadata()`` function, do:: |
| 14 | + |
| 15 | + df_samples = adir1.sample_metadata() |
| 16 | + |
| 17 | +For more information about the data and terms of use, please see the |
| 18 | +`MalariaGEN website <https://www.malariagen.net/data>`_ or contact support@malariagen.net. |
| 19 | + |
| 20 | +.. currentmodule:: malariagen_data.adir1.Adir1 |
| 21 | + |
| 22 | +Basic data access |
| 23 | +----------------- |
| 24 | +.. autosummary:: |
| 25 | + :toctree: generated/ |
| 26 | + |
| 27 | + releases |
| 28 | + sample_sets |
| 29 | + lookup_release |
| 30 | + lookup_study |
| 31 | + |
| 32 | +Reference genome data access |
| 33 | +---------------------------- |
| 34 | +.. autosummary:: |
| 35 | + :toctree: generated/ |
| 36 | + |
| 37 | + contigs |
| 38 | + genome_sequence |
| 39 | + genome_features |
| 40 | + plot_transcript |
| 41 | + plot_genes |
| 42 | + |
| 43 | +Sample metadata access |
| 44 | +---------------------- |
| 45 | +.. autosummary:: |
| 46 | + :toctree: generated/ |
| 47 | + |
| 48 | + sample_metadata |
| 49 | + add_extra_metadata |
| 50 | + clear_extra_metadata |
| 51 | + lookup_sample |
| 52 | + count_samples |
| 53 | + plot_samples_bar |
| 54 | + plot_samples_interactive_map |
| 55 | + plot_sample_location_mapbox |
| 56 | + plot_sample_location_geo |
| 57 | + wgs_data_catalog |
| 58 | + cohorts |
| 59 | + |
| 60 | +SNP data access |
| 61 | +--------------- |
| 62 | +.. autosummary:: |
| 63 | + :toctree: generated/ |
| 64 | + |
| 65 | + site_mask_ids |
| 66 | + snp_calls |
| 67 | + snp_allele_counts |
| 68 | + plot_snps |
| 69 | + site_annotations |
| 70 | + is_accessible |
| 71 | + biallelic_snp_calls |
| 72 | + biallelic_diplotypes |
| 73 | + biallelic_snps_to_plink |
| 74 | + |
| 75 | +Integrative genomics viewer (IGV) |
| 76 | +--------------------------------- |
| 77 | +.. autosummary:: |
| 78 | + :toctree: generated/ |
| 79 | + |
| 80 | + igv |
| 81 | + view_alignments |
| 82 | + |
| 83 | +SNP frequency analysis |
| 84 | +---------------------- |
| 85 | +.. autosummary:: |
| 86 | + :toctree: generated/ |
| 87 | + |
| 88 | + snp_allele_frequencies |
| 89 | + snp_allele_frequencies_advanced |
| 90 | + aa_allele_frequencies |
| 91 | + aa_allele_frequencies_advanced |
| 92 | + plot_frequencies_heatmap |
| 93 | + plot_frequencies_time_series |
| 94 | + plot_frequencies_interactive_map |
| 95 | + |
| 96 | +Principal components analysis (PCA) |
| 97 | +----------------------------------- |
| 98 | +.. autosummary:: |
| 99 | + :toctree: generated/ |
| 100 | + |
| 101 | + pca |
| 102 | + plot_pca_variance |
| 103 | + plot_pca_coords |
| 104 | + plot_pca_coords_3d |
| 105 | + |
| 106 | +Genetic distance and neighbour-joining trees (NJT) |
| 107 | +-------------------------------------------------- |
| 108 | +.. autosummary:: |
| 109 | + :toctree: generated/ |
| 110 | + |
| 111 | + plot_njt |
| 112 | + njt |
| 113 | + biallelic_diplotype_pairwise_distances |
| 114 | + |
| 115 | +Heterozygosity analysis |
| 116 | +----------------------- |
| 117 | +.. autosummary:: |
| 118 | + :toctree: generated/ |
| 119 | + |
| 120 | + plot_heterozygosity |
| 121 | + roh_hmm |
| 122 | + plot_roh |
| 123 | + |
| 124 | +Diversity analysis |
| 125 | +------------------ |
| 126 | +.. autosummary:: |
| 127 | + :toctree: generated/ |
| 128 | + |
| 129 | + cohort_diversity_stats |
| 130 | + diversity_stats |
| 131 | + plot_diversity_stats |
| 132 | + |
| 133 | +Diplotype clustering |
| 134 | +-------------------- |
| 135 | +.. autosummary:: |
| 136 | + :toctree: generated/ |
| 137 | + |
| 138 | + plot_diplotype_clustering |
| 139 | + plot_diplotype_clustering_advanced |
| 140 | + |
| 141 | +Fst analysis |
| 142 | +------------ |
| 143 | +.. autosummary:: |
| 144 | + :toctree: generated/ |
| 145 | + |
| 146 | + average_fst |
| 147 | + pairwise_average_fst |
| 148 | + plot_pairwise_average_fst |
| 149 | + fst_gwss |
| 150 | + plot_fst_gwss |
0 commit comments