No articles match
Plotting pedigrees with ggPedigree()21 days ago
Introduction | Basic usage | Customizing Aesthetics | Labeling Individuals | Overlaying Status Information | Highlighting Specific Individuals | Highlighting Harry Potter | Multiple families in one graphic | Adjusting Plot Appearance | Advanced Examples: Large Pedigrees with self-loops
Fitting Pedigree-Based Variance Component Models1 months ago
Introduction | Prerequisites | Data Requirements at a Glance | Pedigree data frame | Relatedness matrices | Phenotype data format | Missing phenotypes | Part 1: Single-Family Model | Step 1: Subset to one family and inspect | Step 2: Compute relatedness matrices | Step 3: Prepare the phenotype data | Step 4: Subset matrices to observed individuals | Step 5: Check model identification | Step 6: Build and fit the model | Part 2: Two-Family Multi-Group Model | Family 2: matrices | Family 2: phenotype data | Family 2: subset matrices | Check identification across both families | Build and fit the two-family model | Part 3: Scaling Up — Many Families and Parameter Recovery | Simulate pedigrees and data | Build and fit the multi-family model | Compare estimates to true values | Using the high-level wrapper | Understanding the Covariance Structure | Summary
Pedigree Simulation and Visualization with BGmisc1 months ago
Introduction | Summarizing Pedigrees | Plotting Pedigree | Single Pedigree Visualization | Visualizing Multiple Pedigrees Side-by-Side
Understanding and Computing Relatedness from Pedigree Data3 months ago
Introduction | Relatedness Coefficient | Inferring r from Observed Phenotypic Correlation | Computing Relatedness from Pedigree Data | Hazard Data Example | Introducing Missingness: Remove a Parent | Removing the Father Instead | Inbreeding Dataset: Family-Level Evaluation | Example: Family r famIDs[1] | Summary
Modeling variance components3 months ago
Introduction | Loading Required Libraries | Working with Variance Component Models | Using comp2vech Function | Using identifyComponentModel Function | Extended Pedigrees
Interactive Pedigree Plotting with ggPedigreeInteractive4 months ago
Introduction | Example data | Basic Usage
Visualizing Relatedness Matrices with ggRelatednessMatrix()4 months ago
Introduction | Data Preparation | Calculating Relatedness Matrices | Visualizing Relatedness Matrices | Plot Interactively | Customization Options | Comparison to Base R and Other Approaches | Conclusions
Visualizing Sibling Differences4 months ago
Overview | Data Preparation | Data Cleaning | Load the data | Get kinship links for individuals with the following variables: | Create the df_flu_modeling object with only consistent responders. | Clean the column names with the {janitor} package. | Setting Up Color Palette | Plotting the Results | Individual Level Plot | Family Level Plots | Between Family Plots | Adding Marginal Density Plots | Assembling the Final Plot | Bonus: Faceting by SES Difference Group | Within Family Plots | Conclusion
ASOIAF: How related are Jon and Danny?5 months ago
Introduction | Load Packages and Data | Prepare and Validate Sex Codes | Compute Relatedness Matrices | Convert to Pairwise Format | Locate Jon and Daenerys | Plotting the Pedigree with Incomplete Parental Information | Visualize the Pedigree | Conclusion
Network tools for finding extended pedigrees and path tracing5 months ago
Introduction | Loading Required Libraries and Data | Finding Extended Families | Computing Relatedness | Other relatedness measures | Computing mitochondrial relatedness | Computing relatedness through common nuclear environment | Computing relatedness through common extended family environment | Subsetting Pedigrees
Using config to control ggpedigree plots5 months ago
Basic usage of config in ggPedigree() | Sex coding: code_male and code_female | Advanced Examples
Full Data Workflow6 months ago
Introduction | Data Structures and Preparation | Wide Format Data | Long Format Data | Converting Long to Wide | Using existing kinship links | Pedigree Data | Computing Kinship Matrices | Creating Wide-Format Kinship Pairs | Simulating Outcome and Predictor Variables | Ordering and Derived Variables | Understanding the Transformation | Data Selection for Standard OLS Regression | Analyzing the Data | Standard OLS Regression | Discordant Between-Family Regression | Discordant-Kinship Regression | Using the Helper Function | Comparing the Three Approaches | Side-by-Side Model Comparison | Interpreting the Differences | Conclusion | Session Info
No Database? No Problem: Using discord with Simple Family Structures6 months ago
Introduction | Loading Packages and Data | Constructing Kinship Links | Simulate Phenotypic Data | Fitting a Discordant-Kinship Regression Model | Alternative Specifications | Conclusion | References
Validating and Repairing Pedigree Data with BGmisc6 months ago
Introduction | Identifying and Repairing ID Issues | A Clean Dataset | What checkIDs() Reports | A Tale of Two Duplicates | Repairing Between-Row Duplicates | Oedipus ID | Identifying and Repairing Sex Coding Issues | Best Practices for Pedigree Validation
Handling categorical predictors with discord9 months ago
Introduction | Purpose | Understanding Variable Types in Dyadic Analysis | Coding Approaches for Categorical Variables | Binary-match Coding | Multi-match Coding | Data Preparation | Package Loading and Data Setup | Handling Categorical Predictors | Mixed Variables: Sex as an Example | Between-dyad Variable: Race as an Example | Combining Binary and Multi-match Variables | Results and Interpretation | Regression Analysis: Sex Variables | Binary Match Coding for Sex | Interpretation: | Multi-Match Coding for Sex | Mean SES Model with Sex | Regression Analysis: Race Variables | Multimatch | Mean SES Model with Race | Regression Analysis: Combined Sex and Race Variables | Interpretation | Alternative Model: Binary Sex Match and Multi-Match Race | Mean SES Models with Both Variables | Mean SES Models with Combining multimatch and binarymatch | Conclusion | Implementation Recommendations: | References
NLSY: Regression demonstration with Flu Vaccination and SES data9 months ago
Introduction | Data Description | Data Cleaning | Prepare person-level data | Create kinship-linked data | Modeling and Interpretation | Conclusion | Acknowledgments | Session Info | References