Man pages for tidypopgen
Tidy Population Genetics

arrange.gen_tblAn arrange method for 'gen_tibble' objects
arrange.grouped_gen_tblAn arrange method for grouped 'gen_tibble' objects
augment.gt_dapcAugment data with information from a gt_dapc object
augment_gt_pcaAugment data with information from a gt_pca object
augment_lociAugment the loci table with information from a analysis...
augment_loci_gt_pcaAugment the loci table with information from a gt_pca object
augment_q_matrixAugment data with information from a q_matrix object
autoplot_gt_admixAutoplots for 'gt_admix' objects
autoplot_gt_cluster_pcaAutoplots for 'gt_cluster_pca' objects
autoplot_gt_dapcAutoplots for 'gt_dapc' objects
autoplot_gt_pcaAutoplots for 'gt_pca' objects
autoplot_gt_pcadaptAutoplots for 'gt_pcadapt' objects
autoplot.qc_report_indivAutoplots for 'qc_report_indiv' objects
autoplot.qc_report_lociAutoplots for 'qc_report_loci' objects
autoplot_q_matrixAutoplots for 'q_matrix' objects
cash-set-.gen_tblA $ method for 'gen_tibble' objects
cbind.gen_tblCombine a gen_tibble to a data.frame or tibble by column
c.gt_admixCombine method for gt_admix objects
count_lociCount the number of loci in a 'gen_tibble'
distruct_coloursDistruct colours
filter.gen_tblTidyverse methods for gt objects
filter.grouped_gen_tblA filter method for grouped 'gen_tibble' objects
filter_high_relatednessFilter individuals based on a relationship threshold
find_duplicated_lociFind duplicates in the loci table
gen_tibbleConstructor for a 'gen_tibble'
get_p_matrixReturn a single P matrix from a 'gt_admix' object
get_q_matrixReturn a single Q matrix from a 'gt_admix' object
gt_add_sfAdd an simple feature geometry to a 'gen_tibble'
gt_admix_reorder_qReorder the q matrices based on the grouping variable
gt_admixtureRun ADMIXTURE from R
gt_as_genindConvert a 'gen_tibble' to a 'genind' object from 'adegenet'
gt_as_genlightConvert a 'gen_tibble' to a 'genlight' object from 'adegenet'
gt_as_geno_leaConvert a 'gentibble' to a .geno file for sNMF from the LEA...
gt_as_hierfstatConvert a 'gen_tibble' to a data.frame compatible with...
gt_as_plinkExport a 'gen_tibble' object to PLINK bed format
gt_as_vcfConvert a 'gen_tibble' to a VCF
gt_cluster_pcaRun K-clustering on principal components
gt_cluster_pca_best_kFind the best number of clusters based on principal...
gt_dapcDiscriminant Analysis of Principal Components for gen_tibble
gt_extract_f2Compute and store blocked f2 statistics for ADMIXTOOLS 2
gt_get_file_namesGet the names of files storing the genotypes of a...
gt_has_imputedChecks if a 'gen_tibble' has been imputed
gt_impute_simpleSimple imputation based on allele frequencies
gt_impute_xgboostImputation based XGBoost
gt_loadLoad a gen_tibble
gt_order_lociOrder the loci table of a gen_tibble
gt_pcaPrincipal Component Analysis for 'gen_tibble' objects
gt_pca_autoSVDPCA controlling for LD for 'gen_tibble' objects
gt_pcadaptpcadapt analysis on a 'gen_tibble' object
gt_pca_partialSVDPCA for 'gen_tibble' objects by partial SVD
gt_pca_randomSVDPCA for 'gen_tibble' objects by randomized partial SVD
gt_pseudohaploidSet the ploidy of a 'gen_tibble' to include pseudohaploids
gt_saveSave a gen_tibble
gt_set_imputedSets a 'gen_tibble' to use imputed data
gt_snmfRun SNMF from R in tidypopgen
gt_update_backingfileUpdate the backing matrix
gt_uses_imputedChecks if a 'gen_tibble' uses imputed data
indiv_het_obsEstimate individual observed heterozygosity
indiv_inbreedingIndividual inbreeding coefficient
indiv_missingnessEstimate individual missingness
indiv_ploidyReturn individual ploidy
is_loci_table_orderedTest if the loci table is ordered
load_example_gtLoad example gen_tibble
loci_alt_freqEstimate allele frequencies at each locus
loci_chromosomesGet the chromosomes of loci in a 'gen_tibble'
loci_hweTest Hardy-Weinberg equilibrium at each locus
loci_ld_clumpClump loci based on a Linkage Disequilibrium threshold
loci_missingnessEstimate missingness at each locus
loci_namesGet the names of loci in a 'gen_tibble'
loci_piEstimate nucleotide diversity (pi) at each locus
loci_transitionsFind transitions
loci_transversionsFind transversions
mutate.gen_tblA mutate method for 'gen_tibble' objects
mutate.grouped_gen_tblA mutate method for grouped 'gen_tibble' objects
nwise_pop_pbsCompute the Population Branch Statistics for each combination...
pairwise_allele_sharingCompute the Pairwise Allele Sharing Matrix for a 'gen_tibble'...
pairwise_grmCompute the Genomic Relationship Matrix for a 'gen_tibble'...
pairwise_ibsCompute the Identity by State Matrix for a 'gen_tibble'...
pairwise_kingCompute the KING-robust Matrix for a a 'gen_tibble' object
pairwise_pop_fstCompute pairwise population Fst
pipePipe operator
pop_fisCompute population specific FIS
pop_fstCompute population specific Fst
pop_global_statsCompute basic population global statistics
pop_het_expCompute the population expected heterozygosity
pop_het_obsCompute the population observed heterozygosity
pop_tajimas_dEstimate Tajima's D for the whole genome
predict_gt_pcaPredict scores of a PCA
qc_report_indivCreate a Quality Control report for individuals
qc_report_lociCreate a Quality Control report for loci
q_matrixConvert a standard matrix to a 'q_matrix' object
rbind_dry_runGenerate a report of what would happen to each SNP in a merge
rbind.gen_tblCombine two gen_tibbles
read_q_filesRead and structure .Q files or existing matrices as...
reexportsObjects exported from other packages
scale_fill_distructScale constructor using the distruct colours
select_lociThe 'select' verb for 'loci'
select_loci_ifThe 'select_if' verb for 'loci'
show_genotypesShow the genotypes of a 'gen_tibble'
show_lociShow the loci information of a 'gen_tibble'
show_ploidyShow the ploidy information of a 'gen_tibble'
snp_allele_sharingCompute the Pairwise Allele Sharing Matrix for a bigSNP...
snp_ibsCompute the Identity by State Matrix for a bigSNP object
snp_kingCompute the KING-robust Matrix for a bigSNP object
summary.gt_admixSummary method for gt_admix objects
summary_rbind_dry_runPrint a summary of a merge report
theme_distructA theme to match the output of distruct
tidy.gt_dapcTidy a 'gt_dapc' object
tidy_gt_pcaTidy a 'gt_pca' object
tidypopgen-packagetidypopgen: Tidy Population Genetics
tidy.q_matrixTidy a Q matrix
windows_indiv_rohDetect runs of homozygosity using a sliding-window approach
windows_nwise_pop_pbsCompute the Population Branch Statistics over a sliding...
windows_pairwise_pop_fstCompute pairwise Fst for a sliding window
windows_pop_tajimas_dCompute Tajima's D for a sliding window
windows_stats_genericEstimate window statistics from per locus estimates
tidypopgen documentation built on Aug. 28, 2025, 1:08 a.m.