Man pages for k-hench/GenomicOriginsScripts
Provides the R scripts for the paper "Ancestral variation, hybridization and modularity fuel a marine radiation"

add_gposAdd genomic position
add_spec_drawingAdd fish annotation
adm_plotPlot adimxture data
anno_pair_flagcreate hamlet pair annotations
as_multirowWrap content in multirow
ax_sclScale bp to Mb
bammplot_kA modded version of BAMMtools::plot.bammdata
clrHamlet colors (standard)
clr2Hamlet colors (alternative)
clr_belowDefault background bar color
clr_genesDefault gene color
clr_locLocation colors
collapse_peaksCollapse all Fst peaks of a given run
conditional_highlightConditional Tree Highlighting
conditional_rotateConditional Tree Rotation
cross_specCross species pairs
custom_annoplotCustom annotation base plot
darkenDarken a given color
data_amdxGet adimxture data
distances_treeGet distance matrix of a topology
dist_tibbleCreate tibble of pairwise species distances
dot-onAttachPackage Dependencies
export_2_latexExport latex tables
fish_plothamlet pair annotation
fish_plot2hamlet pair annotation 2
fll_funFill function for adxiture classes
fll_nNamed fill function for adxiture classes
fst_bar_row_runcrate global fst bar table
f_widthDefault figure width (double column)
f_width_halfDefault figure width (single column)
generic_hamlet_imgGeneric Hamlet image.
geom_hypo_grob2The custom grob geom
get_ccImport cross coalescence data
get_clrDefin topology weighing base color
get_distCreate distance of species pair
get_dxyImport dxy data
get_fstImport Fst data
get_fst_fixedCompute summary stats an absolute for Fst outlier
get_fst_summary_dataImport fst summary data for outlier windows
get_genesCollect hamlet genes
get_gxpImport genotype x phenotype association
get_gxp_and_gevaCombine allele age and gxp data import
get_gxp_both_modelsGet gxp data
get_gxp_longImport genotype x phenotype association in long format
get_isolated_toposget isolated topologies
get_msmcImport msmc data
get_n_aboveCount number of permutation Fst greather than the original...
get_neighbour_toposGet pairwise highlighing topologies
get_n_totalCount number of fst permutations
get_percentileCompute the percentile of original Fst copared to fst...
get_piImport diversity data
getPofZGet hybridization data
get_random_fstImport Fst permutation tests results
get_twisst_dataImport a single topology weighting data set
grid_piece_xSingle grob annotation for specific x range
gxp_importerImport windowed gxp data for focal trait
hypo_anno_l_lwdHamlet Annotation (alt)
import_geva_dataImport Geva data (Allele Age)
import_gxp_dataImport windowed gxp data for all traits
import_treeImport revPoMo tree
is_isolatedDetermine if species is isolated in topology
join_listIterate left_join over list
lab2specConvert tree labels
label_spacerAdjust plot sizes
lightenLighten a given color
loc_namesLocation names
make_faint_clrmake a faint version of a color
match_twisst_filesImport all topology weighting data sets for a location
min_distFind minimum distance to other species in topology
network_layoutcrate a network layout for pairwise species comparisons
no_titledrop ggplot y axis titles
outlr_clrOutlier color
pca_plotAutomated PCA plotting
pca_plot_no_fishPCA plot without fish annotations
plot_clrDefault plot color
plot_curtainManage plot panels for a single outlier window
plot_fishPlot single fish
plot_fish2Plot Hamlet drawing (alt)
plot_fishes_locationPlot two fishes with location
plot_fish_lwdHamlet Annotation (alt)
plot_fish_zoomPlot fish for topology legend
plot_fst_poptreeCreate the fst population tree panel
plot_legCreate topology legend
plot_locPlot hybridization data
plot_lwdDefault plot linewidth
plot_networkPlot pariwise species comparisons per location
plot_outl_treeplot region tree
plot_outl_tree_splot region tree (with Serranus outgroup)
plot_pair_runcreate hamlet pair annotations
plot_panel_annoCreate annotation panel
plot_panel_delta_dxyCreate the delta dxy panel
plot_panel_dxyCreate the dxy panel
plot_panel_fstCreate the fst panel
plot_panel_gxpCreate the genotype x phenotype panel
plot_panel_twisstCreate the topology weighting panel
plot_sizeDefault plot size
plot_text_sizeDefault plot font size
plot_text_size_smallSmall plot font size
plot_treePlot Tree
pop_levelsPopulation order
prep_dataPrepate topology weighting data for zoom plot
process_inputProcess script input
project_caseProject case
project_inv_caseInverted project case
read_scimport sc data sheet
refactorReorder factor levels
refactor_runreorder species pairs
reformat_run_nameReformat run name
rescale_fstnormalize global fst
reverselog_transCustom reverse log transformation
root_hamletsRoot hamlet tree
shpsLocation shapes
sp_labsSpecies labels
sp_namesSpecies names
summarise_modelsummarize model statistics
summarize_dxyImport and summarize dxy data
summarize_fstImport and summarize Fst data
theme_gradient_bg_xTiled Grob background for ggplot
theme_hybCustom ggplot theme
theme_panelsggplot layout template
whisker_pointsWhisker points
k-hench/GenomicOriginsScripts documentation built on July 24, 2021, 3:05 p.m.