Man pages for kimberlyroche/rulesoflife

build_between_within_distributionsSample to construct between- and within-host distributions of...
calc_consensus_signCalculate a consensus CLR correlation sign for a given...
calc_se_decayDefine bandwidth of squared exponential kernel
calc_universality_scoreCalculate a score (0.0 to 1.0) for the "universality" of...
calc_universality_score_taxonCalculate a score (0.0 to 1.0) for the "universality" of...
check_dirCreate output directory/ies that may not already exist
convert_alr_Sigma_clrConvert an ALR covariance matrix to a CLR correlation matrix
convert_series_clrCLR-convert a set of species abundance series, calculate...
downsample_countsSimulate count data from the generative model, downsampling...
filter_dataThis function loads the raw ABRP data (as a phyloseq object)...
filter_joint_zerosReturn a vector indicating whether the frequency of 0-0...
fit_GPFit MLN Gaussian process model to a given host's series using...
generate_env_linkGenerate matrix that encodes per-species response to...
generate_highcontrast_paletteGenerate a random high-contrast palette (for bar plotting)
generate_highcontrast_palette2Generate a color palette suitable for stacked bar plots given...
generate_innate_paramsGenerate baseline abundances and cooperative/competitive...
generate_paletteGenerate a color palette suitable for stacked bar plots given...
generate_scrambled_dataPermute the data within samples, maintaining relative...
generate_seriesUse a generalized stochastic Lotka-Volterra model to...
get_GammaDefine a kernel (function) over samples
get_host_social_groupsAssign host social group as social group in which a given...
get_mean_clr_abundanceGet the mean CLR abundance for all taxa
get_paired_trajectoriesPull a collection date-aligned trajectories for a pair of...
get_predictions_host_listPulling a collection date-aligned trajectories for a pair of...
get_reference_hostsFind host with largest numbers of samples in each social...
get_tax_labelReturn a human-readable taxon label
get_trajectory_dfPull collection date-aligned trajectories from a given host's...
get_XiSet up a basic ALR prior
helloHello, World!
load_dataThis function wrangles the filtered ABRP data and metadata
load_fitPull a fitted model object from the specified directory
load_predictionsPull a prediction object from the specified directory
load_scrambled_dataLoad scrambled data
order_rug_col_phylogeneticReorder columns of the "rug" based on phylogenetic distance
order_rug_cols_mean_abundanceReorder columns of the "rug" from taxa with the least to most...
order_rug_row_baselineReorder rows of the "rug" based on Aitchison distance between...
order_rug_row_diversityReorder rows of the "rug" based on average taxonomic average...
order_rug_row_groupReorder rows of the "rug" based on primary social group
order_rug_row_pedigreeReorder rows of the "rug" based on known pedigree
percent_to_kConverts a percent to a relative count
plot_aligned_trajectoriesRender date-aligned trajectories for a pair of taxa and a...
plot_clr_vs_dietRender line plot of a given CLR taxon against diet PC1 for a...
plot_correlation_histogramRenders the host x pairwise associations as a histogram
plot_downsamplingBoxplot data simulated from downsample_counts()
plot_enrichmentPlot relative representation of ASV pairs (using family...
plot_enrichment_oldPlot relative representation of ASV pairs (using family...
plot_gLV_barsPlot a random 50-day segment from a gLV simulation
plot_gLV_heatmapPlot a gLV simulation as a heatmap
plot_gLV_linesPlot a gLV simulation as lines
plot_kernel_or_cov_matrixRenders a kernel or covariance matrix as a square heatmap.
plot_rugRenders the "rug" (host x pairwise association matrix) as a...
plot_trajectories_top_pairsRender date-aligned trajectories for the most universal...
plot_trajectoryVisualize inferred logratio trajectories (CLR by default)
predict_GP_meanPredict mean trajectories (Lambda) for all CLR taxa in a...
predict_trajectoryDraw predictions from a fido::basset model in the CLR...
prune_dataDescription TBD
pull_seriesPull the predicted host x taxon series from a data.frame of...
pull_SigmasGather all host ASV-ASV (MAP) correlation matrices into a 3D...
render_universal_pairsUtility function to plot aligned series for the pair of taxa...
rug_phylogenetic_distancesCalculate phylogenetic distances on pairs of taxa
sequence_distanceCompute sequence distances across ASVs
simulate_seriesSimulate series for one host
summarize_SigmasSummarize the pairwise correlations (optionally via...
kimberlyroche/rulesoflife documentation built on May 7, 2023, 11:08 a.m.