
Package index
-
gen_tibble() - Constructor for a
gen_tibble
-
gt_save() - Save a gen_tibble
-
gt_load() - Load a gen_tibble
-
gt_get_file_names() - Get the names of files storing the genotypes of a
gen_tibble
-
gt_order_loci() - Order the loci table of a gen_tibble
-
gt_update_backingfile() - Update the backing matrix
-
gt_add_sf() - Add an simple feature geometry to a
gen_tibble
-
gt_pseudohaploid() - Set the ploidy of a
gen_tibbleto include pseudohaploids
-
show_genotypes() - Show the genotypes of a
gen_tibble
-
show_loci()`show_loci<-`() - Show the loci information of a
gen_tibble
-
show_ploidy() - Show the ploidy information of a
gen_tibble
-
count_loci() - Count the number of loci in a
gen_tibble
-
augment_loci() - Augment the loci table with information from a analysis object
-
is_loci_table_ordered() - Test if the loci table is ordered
-
find_duplicated_loci() - Find duplicates in the loci table
Selecting loci
Functions to select loci from a gen_tibble, either based on loci information, or genotype information.
-
select_loci() - The
selectverb forloci
-
select_loci_if() - The
select_ifverb forloci
-
gt_impute_simple() - Simple imputation based on allele frequencies
-
gt_impute_xgboost() - Imputation based XGBoost
-
gt_has_imputed() - Checks if a
gen_tibblehas been imputed
-
gt_uses_imputed() - Checks if a
gen_tibbleuses imputed data
-
gt_set_imputed() - Sets a
gen_tibbleto use imputed data
-
rbind_dry_run() - Generate a report of what would happen to each SNP in a merge
-
rbind(<gen_tbl>) - Combine two gen_tibbles
-
summary(<rbind_report>) - Print a summary of a merge report
-
cbind(<gen_tbl>) - Combine a gen_tibble to a data.frame or tibble by column
-
gt_as_genind() - Convert a
gen_tibbleto agenindobject fromadegenet
-
gt_as_genlight() - Convert a
gen_tibbleto agenlightobject fromadegenet
-
gt_as_geno_lea() - Convert a
gentibbleto a .geno file for sNMF from the LEA package
-
gt_as_hierfstat() - Convert a
gen_tibbleto a data.frame compatible withhierfstat
-
gt_as_plink() - Export a
gen_tibbleobject to PLINK bed format
-
gt_as_vcf() - Convert a
gen_tibbleto a VCF
-
gt_from_genlight() - Convert a
genlightobject from adegenet to agen_tibble
-
qc_report_loci() - Create a Quality Control report for loci
-
qc_report_indiv() - Create a Quality Control report for individuals
-
autoplot(<qc_report_loci>) - Autoplots for
qc_report_lociobjects
-
autoplot(<qc_report_indiv>) - Autoplots for
qc_report_indivobjects
-
filter_high_relatedness() - Filter individuals based on a relationship threshold
-
loci_alt_freq()loci_maf() - Estimate allele frequencies at each locus
-
loci_chromosomes() - Get the chromosomes of loci in a
gen_tibble
-
loci_hwe() - Test Hardy-Weinberg equilibrium at each locus
-
loci_ld_clump() - Clump loci based on a Linkage Disequilibrium threshold
-
loci_missingness() - Estimate missingness at each locus
-
loci_names() - Get the names of loci in a
gen_tibble
-
loci_pi() - Estimate nucleotide diversity (pi) at each locus
-
loci_transitions() - Find transitions
-
loci_transversions() - Find transversions
-
indiv_het_obs() - Estimate individual observed heterozygosity
-
indiv_inbreeding() - Individual inbreeding coefficient
-
indiv_missingness() - Estimate individual missingness
-
indiv_ploidy() - Return individual ploidy
-
pop_fis() - Compute population specific FIS
-
pop_fst() - Compute population specific Fst
-
pop_global_stats() - Compute basic population global statistics
-
pop_het_exp()pop_gene_div() - Compute the population expected heterozygosity
-
pop_het_obs() - Compute the population observed heterozygosity
-
pop_tajimas_d() - Estimate Tajima's D for the whole genome
-
pairwise_allele_sharing() - Compute the Pairwise Allele Sharing Matrix for a
gen_tibbleobject
-
pairwise_grm() - Compute the Genomic Relationship Matrix for a
gen_tibbleobject
-
pairwise_ibs() - Compute the Identity by State Matrix for a
gen_tibbleobject
-
pairwise_king() - Compute the KING-robust Matrix for a
gen_tibbleobject
-
pairwise_pop_fst() - Compute pairwise population Fst
-
nwise_pop_pbs() - Compute the Population Branch Statistics for each combination of populations
-
windows_indiv_roh()gt_roh_window() - Detect runs of homozygosity using a sliding-window approach
-
windows_nwise_pop_pbs() - Compute the Population Branch Statistics over a sliding window
-
windows_pairwise_pop_fst() - Compute pairwise Fst for a sliding window
-
windows_pop_tajimas_d() - Compute Tajima's D for a sliding window
-
windows_stats_generic() - Estimate window statistics from per locus estimates
-
gt_pca - Principal Component Analysis for
gen_tibbleobjects
-
gt_pca_autoSVD() - PCA controlling for LD for
gen_tibbleobjects
-
gt_pca_partialSVD() - PCA for
gen_tibbleobjects by partial SVD
-
gt_pca_randomSVD() - PCA for
gen_tibbleobjects by randomized partial SVD
-
predict(<gt_pca>) - Predict scores of a PCA
-
tidy(<gt_pca>) - Tidy a
gt_pcaobject
-
augment(<gt_pca>) - Augment data with information from a gt_pca object
-
augment_loci(<gt_pca>) - Augment the loci table with information from a gt_pca object
-
autoplot(<gt_pca>) - Autoplots for
gt_pcaobjects
-
gt_dapc() - Discriminant Analysis of Principal Components for gen_tibble
-
gt_cluster_pca() - Run K-clustering on principal components
-
gt_cluster_pca_best_k() - Find the best number of clusters based on principal components
-
tidy(<gt_dapc>) - Tidy a
gt_dapcobject
-
augment(<gt_dapc>) - Augment data with information from a gt_dapc object
-
autoplot(<gt_dapc>) - Autoplots for
gt_dapcobjects
-
autoplot(<gt_cluster_pca>) - Autoplots for
gt_cluster_pcaobjects
K-clustering and ADMXITURE
Functions for creating, tidying, and visualising gt_admix and q_matrix objects.
-
gt_admixture() - Run ADMIXTURE from R
-
gt_snmf() - Run SNMF from R in tidypopgen
-
autoplot(<gt_admix>) - Autoplots for
gt_admixobjects
-
summary(<gt_admix>) - Summary method for gt_admix objects
-
c(<gt_admix>) - Combine method for gt_admix objects
-
gt_admix_reorder_q() - Reorder the q matrices based on the grouping variable
-
q_matrix() - Convert a standard matrix to a
q_matrixobject
-
read_q_files() - Read and structure .Q files or existing matrices as
q_matrixorgt_admixobjects.
-
get_q_matrix() - Return a single Q matrix from a
gt_admixobject
-
get_p_matrix() - Return a single P matrix from a
gt_admixobject
-
tidy(<q_matrix>) - Tidy a Q matrix
-
augment(<q_matrix>) - Augment data with information from a q_matrix object
-
autoplot(<q_matrix>) - Autoplots for
q_matrixobjects
-
distruct_colours - Distruct colours
-
scale_fill_distruct() - Scale constructor using the distruct colours
-
theme_distruct() - A theme to match the output of distruct
-
gt_extract_f2() - Compute and store blocked f2 statistics for ADMIXTOOLS 2
-
gt_pcadapt() - pcadapt analysis on a
gen_tibbleobject
-
autoplot(<gt_pcadapt>) - Autoplots for
gt_pcadaptobjects
-
snp_allele_sharing() - Compute the Pairwise Allele Sharing Matrix for a bigSNP object
-
snp_ibs() - Compute the Identity by State Matrix for a bigSNP object
-
snp_king() - Compute the KING-robust Matrix for a bigSNP object
-
load_example_gt() - Load example gen_tibble
-
arrange(<gen_tbl>) - An arrange method for
gen_tibbleobjects
-
arrange(<grouped_gen_tbl>) - An arrange method for grouped
gen_tibbleobjects
-
filter(<gen_tbl>) - Tidyverse methods for gt objects
-
filter(<grouped_gen_tbl>) - A filter method for grouped
gen_tibbleobjects
-
mutate(<gen_tbl>) - A mutate method for
gen_tibbleobjects
-
mutate(<grouped_gen_tbl>) - A mutate method for grouped
gen_tibbleobjects
-
`$<-`(<gen_tbl>) - A $ method for
gen_tibbleobjects