Man pages for R-Computing-Lab/BGMisc
An R Package for Extended Behavior Genetics Analysis

adjustKidsPerCoupleGenerate or Adjust Number of Kids per Couple Based on Mating...
allGensallGens A function to calculate the number of individuals in...
ASOIAFA song of ice and fire pedigree data
assignCoupleIdsAssign Couple IDs
assignParentIDsAssign momID and dadID based on family mapping
BGmisc-packageBGmisc: An R Package for Extended Behavior Genetics Analysis
buildBetweenGenerationsProcess Generation Connections
buildWithinGenerationsProcess Generations for Pedigree Simulation
calculateHFalconer's Formula
calculateRelatednessCalculate Relatedness Coefficient
calculateSummaryDTThis function calculates summary statistics for all numeric...
checkIDsValidates and Optionally Repairs Unique IDs in a Pedigree...
checkPedigreeNetworkValidate Pedigree Network Structure
checkSexValidates and Optionally Repairs Sex Coding in a Pedigree...
com2linksConvert Sparse Relationship Matrices to Kinship Links
combine_columnsCombine Columns
comp2vechcomp2vech Turn a variance component relatedness matrix into...
compute_parent_adjacencyCompute Parent Adjacency Matrix with Multiple Approaches
countPatternRowsCheck for Pattern Rows
createFamilyToParentsMappingCreate a mapping of family IDs to parent IDs
createGenDataFrameCreate Data Frame for Generation
determineSexDetermine Sex of Offspring
dot-computeTransposeCompute the transpose multiplication for the relatedness...
dropLinkdropLink A function to drop a person from his/her parents in...
efuncError Function
evenInsertevenInsert A function to insert m elements evenly into a...
extract_infoExtract Information from Line
extractSummaryTextExtract Summary Text
famSizeCalfamSizeCal A function to calculate the total number of...
findFounderThis function finds the originating member for each line in a...
fitComponentModelfitComponentModel Fit the estimated variance components of a...
hazardSimulated pedigree with two extended families and an...
identifyComponentModelidentifyComponentModel Determine if a variance components...
inbreedingArtificial pedigree data on eight families with inbreeding
inferRelatednessInfer Relatedness Coefficient
makeInbreedingmakeInbreeding A function to create inbred mates in the...
makeLongTreeMake Long Tree
makeTwinsmakeTwins A function to impute twins in the simulated...
markPotentialChildrenMark and Assign children
matchMembersMatch Members
NullCompute the null space of a matrix
nullToNAnullToNA
parseRelationshipsinfer relationship from tree template
parseTreeParse Tree
ped2addTake a pedigree and turn it into an additive genetics...
ped2ceTake a pedigree and turn it into an extended environmental...
ped2cnTake a pedigree and turn it into a common nuclear...
ped2comTake a pedigree and turn it into a relatedness matrix
ped2famSegment Pedigree into Extended Families
ped2graphTurn a pedigree into a graph
ped2maternalAdd a maternal line ID variable to a pedigree
ped2mitTake a pedigree and turn it into a mitochondrial relatedness...
ped2paternalAdd a paternal line ID variable to a pedigree
plotPedigreeplotPedigree A wrapped function to plot simulated pedigree...
potterFictional pedigree data on a wizarding family
processParentsProcess parents information
readGedcomRead a GEDCOM File
readWikifamilytreeRead Wiki Family Tree
recodeSexRecodes Sex Variable in a Pedigree Dataframe
related_coefrelated_coef (Deprecated)
relatednessrelatedness (Deprecated)
repairIDsRepair Missing IDs
repairSexRepairs Sex Coding in a Pedigree Dataframe
resampleResample Elements of a Vector
rmvnrmvn
royal92Royal pedigree data from 1992
SimPedSimPed (Deprecated)
simulatePedigreeSimulate Pedigrees This function simulates "balanced"...
sizeAllGenssizeAllGens An internal supporting function for...
standardizeColnamesStandardize Column Names in a Dataframe (Internal)
summarizeFamiliesSummarize the families in a pedigree
summarizeMatrilinesSummarize the maternal lines in a pedigree
summarizePatrilinesSummarize the paternal lines in a pedigree
summarizePedigreesSummarize Pedigree Data
try_namodified tryCatch function
vechvech Create the half-vectorization of a matrix
R-Computing-Lab/BGMisc documentation built on April 3, 2025, 3:12 p.m.