Found 2057 packages in 0.01 seconds
Assign Treatments, Power Calculations, Balances, Impact Evaluation of Experiments
Assists in the whole process of designing and evaluating Randomized Control Trials.
Robust treatment assignment by strata/blocks, that handles misfits;
Power calculations of the minimum detectable treatment effect or minimum populations;
Balance tables of T-test of covariates;
Balance Regression: (treatment ~ all x variables) with F-test of null model;
Impact_evaluation: Impact evaluation regressions. This function
gives you the option to include control_vars, fixed effect variables,
cluster variables (for robust SE), multiple endogenous variables and
multiple heterogeneous variables (to test treatment effect heterogeneity)
summary_statistics: Function that creates a summary statistics table with statistics
rank observations in n groups: Creates a factor variable with n groups. Each group has
a min and max label attach to each category.
Athey, Susan, and Guido W. Imbens (2017)
Implement Covariate-Adaptive Randomization
Implementing seven Covariate-Adaptive Randomization to assign patients to two treatments.
Three of these procedures can also accommodate quantitative and mixed covariates. Given a set of covariates, the user can
generate a single sequence of allocations or replicate the design multiple times by simulating the patients' covariate
profiles. At the end, an extensive assessment of the performance of the randomization procedures is provided, calculating
several imbalance measures. See Baldi Antognini A, Frieri R, Zagoraiou M and Novelli M (2022)
Detecting Influence Paths with Information Theory
Traces information spread through interactions between features, utilising information theory measures and a higher-order generalisation of the concept of widest paths in graphs. In particular, 'vistla' can be used to better understand the results of high-throughput biomedical experiments, by organising the effects of the investigated intervention in a tree-like hierarchy from direct to indirect ones, following the plausible information relay circuits. Due to its higher-order nature, 'vistla' can handle multi-modality and assign multiple roles to a single feature.
Parentage Assignment using Bi-Allelic Genetic Markers
Can be used for paternity and maternity assignment and outperforms
conventional methods where closely related individuals occur in the pool of
possible parents. The method compares the genotypes of offspring with any
combination of potentials parents and scores the number of mismatches of these
individuals at bi-allelic genetic markers (e.g. Single Nucleotide Polymorphisms).
It elaborates on a prior exclusion method based on the Homozygous Opposite Test
(HOT; Huisman 2017
Spatio-Network Generalised Linear Mixed Models for Areal Unit and Network Data
Implements a class of univariate and multivariate spatio-network generalised linear mixed models for areal unit and network data, with inference in a Bayesian setting using Markov chain Monte Carlo (MCMC) simulation. The response variable can be binomial, Gaussian, or Poisson. Spatial autocorrelation is modelled by a set of random effects that are assigned a conditional autoregressive (CAR) prior distribution following the Leroux model (Leroux et al. (2000)
Partitioning of Individual Autozygosity into Multiple Homozygous-by-Descent Classes
Functions to identify Homozygous-by-Descent (HBD) segments associated with runs of homozygosity (ROH) and to
estimate individual autozygosity (or inbreeding coefficient). HBD segments and autozygosity are assigned to multiple HBD classes
with a model-based approach relying on a mixture of exponential distributions. The rate of the exponential distribution is distinct
for each HBD class and defines the expected length of the HBD segments. These HBD classes are therefore related to the age of the
segments (longer segments and smaller rates for recent autozygosity / recent common ancestor). The functions allow to estimate the
parameters of the model (rates of the exponential distributions, mixing proportions), to estimate global and local autozygosity
probabilities and to identify HBD segments with the Viterbi decoding. The method is fully described in Druet and Gautier (2017)
Leveraging eQTLs to Identify Individual-Level Tissue of Interest for a Complex Trait
Genetic predisposition for complex traits is often manifested through multiple tissues of interest at different time points in the development. As an example, the genetic predisposition for obesity could be manifested through inherited variants that control metabolism through regulation of genes expressed in the brain and/or through the control of fat storage in the adipose tissue by dysregulation of genes expressed in adipose tissue. We present a method eGST (eQTL-based genetic subtyper) that integrates tissue-specific eQTLs with GWAS data for a complex trait to probabilistically assign a tissue of interest to the phenotype of each individual in the study. eGST estimates the posterior probability that an individual's phenotype can be assigned to a tissue based on individual-level genotype data of tissue-specific eQTLs and marginal phenotype data in a genome-wide association study (GWAS) cohort. Under a Bayesian framework of mixture model, eGST employs a maximum a posteriori (MAP) expectation-maximization (EM) algorithm to estimate the tissue-specific posterior probability across individuals. Methodology is available from: A Majumdar, C Giambartolomei, N Cai, MK Freund, T Haldar, T Schwarz, J Flint, B Pasaniuc (2019)
Functions to Simplify the Use of 'glmnet' for Machine Learning
Provides several functions to simplify using the 'glmnet' package: converting data frames into matrices ready for 'glmnet'; b) imputing missing variables multiple times; c) fitting and applying prediction models straightforwardly; d) assigning observations to folds in a balanced way; e) cross-validate the models; f) selecting the most representative model across imputations and folds; and g) getting the relevance of the model regressors; as described in several publications: Solanes et al. (2022)
Bayesian Multivariate Analysis of Summary Statistics
Multivariate tool for analyzing genome-wide association
study results in the form of univariate summary statistics. The
goal of 'bmass' is to comprehensively test all possible multivariate
models given the phenotypes and datasets provided. Multivariate
models are determined by assigning each phenotype to being either
Unassociated (U), Directly associated (D) or Indirectly associated
(I) with the genetic variant of interest. Test results for each model
are presented in the form of Bayes factors, thereby allowing direct
comparisons between models. The underlying framework implemented
here is based on the modeling developed in "A Unified Framework
for Association Analysis with Multiple Related Phenotypes",
M. Stephens (2013)
Programmatic Utilities for Manipulating Formulas, Expressions, Calls, Assignments and Other R Objects
These utilities facilitate the programmatic manipulations of formulas, expressions, calls, assignments and other R language objects. These objects all share the same structure: a left-hand side, operator and right-hand side. This packages provides methods for accessing and modifying this structures as well as extracting and replacing names and symbols from these objects.