Package: GWASTools 1.53.0

Stephanie M. Gogarten

GWASTools: Tools for Genome Wide Association Studies

Classes for storing very large GWAS data sets and annotation, and functions for GWAS data cleaning and analysis.

Authors:Stephanie M. Gogarten [aut], Cathy Laurie [aut], Tushar Bhangale [aut], Matthew P. Conomos [aut], Cecelia Laurie [aut], Michael Lawrence [aut], Caitlin McHugh [aut], Ian Painter [aut], Xiuwen Zheng [aut], Jess Shen [aut], Rohit Swarnkar [aut], Adrienne Stilp [aut], Sarah Nelson [aut], David Levine [aut], Sonali Kumari [ctb], Stephanie M. Gogarten [cre]

GWASTools_1.53.0.tar.gz
GWASTools_1.53.0.zip(r-4.5)GWASTools_1.53.0.zip(r-4.4)GWASTools_1.53.0.zip(r-4.3)
GWASTools_1.53.0.tgz(r-4.4-any)GWASTools_1.53.0.tgz(r-4.3-any)
GWASTools_1.53.0.tar.gz(r-4.5-noble)GWASTools_1.53.0.tar.gz(r-4.4-noble)
GWASTools_1.53.0.tgz(r-4.4-emscripten)GWASTools_1.53.0.tgz(r-4.3-emscripten)
GWASTools.pdf |GWASTools.html
GWASTools/json (API)
NEWS

# Install 'GWASTools' in R:
install.packages('GWASTools', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/smgogarten/gwastools/issues

Datasets:

On BioConductor:GWASTools-1.53.0(bioc 3.21)GWASTools-1.52.0(bioc 3.20)

snpgeneticvariabilityqualitycontrolmicroarray

10.45 score 16 stars 5 packages 380 scripts 1.1k downloads 17 mentions 152 exports 84 dependencies

Last updated 23 days agofrom:804422bdd1. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winNOTENov 19 2024
R-4.5-linuxNOTENov 19 2024
R-4.4-winNOTENov 19 2024
R-4.4-macNOTENov 19 2024
R-4.3-winNOTENov 19 2024
R-4.3-macNOTENov 19 2024

Exports:alleleFrequencyallequalanomDetectBAFanomDetectLOHanomFilterBAFanomIdentifyLowQualityanomSegmentBAFanomSegStatsanomStatsPlotapartSnpSelectionasSnpMatrixassocCoxPHassocRegressionautosomeCodeBAFfromClusterMeansBAFfromGenotypesbatchChisqTestbatchFisherTestcheckGenotypeFilecheckImputedDosageFilecheckIntensityFilecheckNcdfGdschromIntensityPlotcloseconvertGdsNcdfconvertNcdfGdscreateAffyIntensityFilecreateDataFilecurrentFilterdupDosageCorAcrossDatasetsduplicateDiscordanceduplicateDiscordanceAcrossDatasetsduplicateDiscordanceProbabilityexactHWEfindBAFvarianceGdsGenotypeReaderGdsIntensityReaderGdsReadergdsSubsetgdsSubsetCheckgenoClusterPlotgenoClusterPlotByBatchgenoDataAsVCFGenotypeBlockIteratorGenotypeDataGenotypeIteratorgenotypeToCharactergetAlleleAgetAlleleBgetAnnotationgetAttributegetBAlleleFreqgetChromosomegetDimensiongetDimensionNamesgetGenotypegetGenotypeSelectiongetLogRRatiogetMetadatagetNodeDescriptiongetobjgetPositiongetQualitygetQuerygetScanAnnotationgetScanIDgetScanVariablegetScanVariableNamesgetSexgetSnpAnnotationgetSnpIDgetSnpVariablegetSnpVariableNamesgetVariablegetVariableNamesgetXgetYhasBAlleleFreqhasCoordVariablehasLogRRatiohasQualityhasScanAnnotationhasScanVariablehasSexhasSnpAnnotationhasSnpVariablehasVariablehasXhasYhetByScanChromhetBySnpSexibdAreasDrawibdAssignRelatednessibdAssignRelatednessKingibdPlotimputedDosageFileIntensityDataintensityOutliersPlotiterateFilterkingIBS0FSCIlastFilterlastFilter<-manhattanPlotMatrixGenotypeReaderMchromCodemeanIntensityByScanChrommeanSdByChromWindowmedianSdOverAutosomesmendelErrmendelListmendelListAsDataFrameminorAlleleDetectionAccuracymissingGenotypeByScanChrommissingGenotypeBySnpSexNcdfGenotypeReaderNcdfIntensityReaderNcdfReadernscannsnpopenpasteSortedpedigreeCheckpedigreeDeleteDuplicatespedigreeMaxUnrelatedpedigreePairwiseRelatednessplinkCheckplinkWritepseudoautoIntensityPlotqqPlotqualityScoreByScanqualityScoreBySnpreadWriteFirstresetIteratorsaveasScanAnnotationDataFrameScanAnnotationSQLitesdByScanChromWindowsetMissingGenotypesshowsimulateGenotypeMatrixsimulateIntensityMatrixSnpAnnotationDataFrameSnpAnnotationSQLitesnpCorrelationPlotsnpFiltervcfCheckvcfWritewriteAnnotationwriteMetadataXchromCodeXYchromCodeYchromCode

Dependencies:backportsBiobaseBiocGenericsbitbit64blobbootbroomcachemclicliprcodetoolscpp11crayondata.tableDBIDNAcopydplyrfansifastmapforcatsforeachformula.toolsgdsfmtgenericsglmnetglueGWASExactHWhavenhmsiteratorsjomolatticelifecyclelme4lmtestlogistfmagrittrMASSMatrixMatrixModelsmemoisemgcvmiceminqamitmlnlmenloptrnnetnumDerivoperator.toolsordinalpanpillarpkgconfigplogrprettyunitsprogresspurrrquantregquantsmoothR6RcppRcppEigenreadrrlangrpartRSQLitesandwichshapeSparseMstringistringrsurvivaltibbletidyrtidyselecttzdbucminfutf8vctrsvroomwithrzoo

Data formats in GWASTools

Rendered fromFormats.Rnwusingutils::Sweaveon Nov 19 2024.

Last update: 2018-09-26
Started: 2013-10-21

GWAS Data Cleaning

Rendered fromDataCleaning.Rnwusingutils::Sweaveon Nov 19 2024.

Last update: 2018-09-26
Started: 2013-10-21

Preparing Affymetrix Data

Rendered fromAffymetrix.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2023-06-22
Started: 2023-06-22

Readme and manuals

Help Manual

Help pageTopics
Tools for Genome Wide Association StudiesGWASTools-package GWASTools
Allelic frequencyalleleFrequency
Test if two objects have the same elementsallequal
BAF Method for Chromosome Anomaly DetectionanomDetectBAF anomFilterBAF anomSegmentBAF
LOH Method for Chromosome Anomaly DetectionanomDetectLOH
Identify low quality samplesanomIdentifyLowQuality
Calculate LRR and BAF statistics for anomalous segmentsanomSegStats anomStatsPlot
Random selection of SNPsapartSnpSelection
Utilities for snpStatsasSnpMatrix
Cox proportional hazardsassocCoxPH
Association testing with regressionassocRegression
B Allele Frequency & Log R Ratio CalculationBAFfromClusterMeans
B Allele Frequency & Log R Ratio CalculationBAFfromGenotypes
Batch Effects of GenotypingbatchChisqTest batchFisherTest
Centromere base positionscentromeres centromeres.hg18 centromeres.hg19 centromeres.hg38
Plot B Allele Frequency and/or Log R Ratio, R or Theta values for samples by probe position on a chromosomechromIntensityPlot
Convert between NetCDF and GDS formatcheckNcdfGds convertGdsNcdf convertNcdfGds
Write genotypic calls and/or associated metrics to a GDS or netCDF file.checkGenotypeFile checkIntensityFile createAffyIntensityFile createDataFile
Duplicate discordanceduplicateDiscordance
Functions to check discordance and allelic dosage correlation across datasetsdupDosageCorAcrossDatasets duplicateDiscordanceAcrossDatasets minorAlleleDetectionAccuracy
Probability of duplicate discordanceduplicateDiscordanceProbability
Hardy-Weinberg Equilibrium testingexactHWE
Find chromosomal areas with high BAlleleFreq (or LogRRatio) standard deviationfindBAFvariance meanSdByChromWindow medianSdOverAutosomes sdByScanChromWindow
Class GdsGenotypeReaderautosomeCode,GdsGenotypeReader-method GdsGenotypeReader GdsGenotypeReader-class getAlleleA,GdsGenotypeReader-method getAlleleB,GdsGenotypeReader-method getChromosome,GdsGenotypeReader-method getGenotype,GdsGenotypeReader-method getGenotypeSelection,GdsGenotypeReader-method getPosition,GdsGenotypeReader-method getScanID,GdsGenotypeReader-method getSnpID,GdsGenotypeReader-method getVariable,GdsGenotypeReader-method MchromCode,GdsGenotypeReader-method nscan,GdsGenotypeReader-method nsnp,GdsGenotypeReader-method XchromCode,GdsGenotypeReader-method XYchromCode,GdsGenotypeReader-method YchromCode,GdsGenotypeReader-method
Class GdsIntensityReaderautosomeCode,GdsIntensityReader-method GdsIntensityReader GdsIntensityReader-class getBAlleleFreq,GdsIntensityReader-method getChromosome,GdsIntensityReader-method getLogRRatio,GdsIntensityReader-method getPosition,GdsIntensityReader-method getQuality,GdsIntensityReader-method getScanID,GdsIntensityReader-method getSnpID,GdsIntensityReader-method getVariable,GdsIntensityReader-method getX,GdsIntensityReader-method getY,GdsIntensityReader-method hasBAlleleFreq,GdsIntensityReader-method hasLogRRatio,GdsIntensityReader-method hasQuality,GdsIntensityReader-method hasX,GdsIntensityReader-method hasY,GdsIntensityReader-method MchromCode,GdsIntensityReader-method nscan,GdsIntensityReader-method nsnp,GdsIntensityReader-method XchromCode,GdsIntensityReader-method XYchromCode,GdsIntensityReader-method YchromCode,GdsIntensityReader-method
Class GdsReaderclose,GdsReader-method GdsReader GdsReader-class getAttribute,GdsReader-method getDimension,GdsReader-method getNodeDescription,GdsReader-method getVariable,GdsReader-method getVariableNames,GdsReader-method hasVariable,GdsReader-method open,GdsReader-method show,GdsReader-method
Write a subset of data in a GDS file to a new GDS filegdsSubset gdsSubsetCheck
SNP cluster plotsgenoClusterPlot genoClusterPlotByBatch
Class GenotypeDataautosomeCode,GenotypeData-method close,GenotypeData-method GenotypeData GenotypeData-class getAlleleA,GenotypeData-method getAlleleB,GenotypeData-method getChromosome,GenotypeData-method getGenotype,GenotypeData-method getGenotypeSelection,GenotypeData-method getPosition,GenotypeData-method getScanAnnotation,GenotypeData-method getScanID,GenotypeData-method getScanVariable,GenotypeData-method getScanVariableNames,GenotypeData-method getSex,GenotypeData-method getSnpAnnotation,GenotypeData-method getSnpID,GenotypeData-method getSnpVariable,GenotypeData-method getSnpVariableNames,GenotypeData-method getVariable,GenotypeData-method hasScanAnnotation,GenotypeData-method hasScanVariable,GenotypeData-method hasSex,GenotypeData-method hasSnpAnnotation,GenotypeData-method hasSnpVariable,GenotypeData-method hasVariable,GenotypeData-method MchromCode,GenotypeData-method nscan,GenotypeData-method nsnp,GenotypeData-method open,GenotypeData-method show,GenotypeData-method XchromCode,GenotypeData-method XYchromCode,GenotypeData-method YchromCode,GenotypeData-method
Class GenotypeIteratorcurrentFilter currentFilter,GenotypeIterator-method GenotypeBlockIterator GenotypeBlockIterator-class GenotypeIterator GenotypeIterator-class getAlleleA,GenotypeIterator-method getAlleleB,GenotypeIterator-method getChromosome,GenotypeIterator-method getGenotypeSelection,GenotypeIterator-method getPosition,GenotypeIterator-method getSnpID,GenotypeIterator-method getSnpVariable,GenotypeIterator-method iterateFilter iterateFilter,GenotypeIterator-method lastFilter lastFilter,GenotypeIterator-method lastFilter<- lastFilter<-,GenotypeIterator,numeric-method resetIterator resetIterator,GenotypeIterator-method snpFilter snpFilter,GenotypeIterator-method
Convert number of A alleles to character genotypesgenotypeToCharacter
Get an R object stored in an Rdata filegetobj
Accessors for variables in GenotypeData and IntensityData classes and their component classesautosomeCode getAlleleA getAlleleB getAnnotation getAttribute getBAlleleFreq getChromosome getDimension getGenotype getGenotypeSelection getLogRRatio getMetadata getNodeDescription getPosition getQuality getQuery getScanAnnotation getScanID getScanVariable getScanVariableNames getSex getSnpAnnotation getSnpID getSnpVariable getSnpVariableNames getVariable getVariableNames getX getY hasBAlleleFreq hasLogRRatio hasQuality hasScanAnnotation hasScanVariable hasSex hasSnpAnnotation hasSnpVariable hasVariable hasX hasY MchromCode nscan nsnp writeAnnotation writeMetadata XchromCode XYchromCode YchromCode
Defunct Functions in Package 'GWASTools'assocTestCPH assocTestFisherExact assocTestRegression convertVcfGds gdsCheckImputedDosage gdsImputedDosage gdsSetMissingGenotypes gwasExactHW GWASTools-defunct ncdfAddData ncdfAddIntensity ncdfCheckGenotype ncdfCheckIntensity ncdfCreate ncdfImputedDosage ncdfSetMissingGenotypes ncdfSubset ncdfSubsetCheck plinkToNcdf
Heterozygosity rates by scan and chromosomehetByScanChrom
Heterozygosity by SNP and sexhetBySnpSex
HLA region base positionsHLA HLA.hg18 HLA.hg19 HLA.hg38
Plot theoretical and observed identity by descent values and assign relationshipsibdAreasDraw ibdAssignRelatedness ibdAssignRelatednessKing ibdPlot kingIBS0FSCI
Create and check a GDS or NetCDF file with imputed dosagescheckImputedDosageFile imputedDosageFile
Class IntensityDataautosomeCode,IntensityData-method close,IntensityData-method getBAlleleFreq,IntensityData-method getChromosome,IntensityData-method getLogRRatio,IntensityData-method getPosition,IntensityData-method getQuality,IntensityData-method getScanID,IntensityData-method getScanVariable,IntensityData-method getScanVariableNames,IntensityData-method getSex,IntensityData-method getSnpID,IntensityData-method getSnpVariable,IntensityData-method getSnpVariableNames,IntensityData-method getVariable,IntensityData-method getX,IntensityData-method getY,IntensityData-method hasBAlleleFreq,IntensityData-method hasLogRRatio,IntensityData-method hasQuality,IntensityData-method hasScanAnnotation,IntensityData-method hasScanVariable,IntensityData-method hasSex,IntensityData-method hasSnpAnnotation,IntensityData-method hasSnpVariable,IntensityData-method hasVariable,IntensityData-method hasX,IntensityData-method hasY,IntensityData-method IntensityData IntensityData-class MchromCode,IntensityData-method nscan,IntensityData-method nsnp,IntensityData-method open,IntensityData-method show,IntensityData-method XchromCode,IntensityData-method XYchromCode,IntensityData-method YchromCode,IntensityData-method
Plot mean intensity and highlight outliersintensityOutliersPlot
Manhattan plot for genome wide association testsmanhattanPlot
Class MatrixGenotypeReaderautosomeCode,MatrixGenotypeReader-method getChromosome,MatrixGenotypeReader-method getGenotype,MatrixGenotypeReader-method getGenotypeSelection,MatrixGenotypeReader-method getPosition,MatrixGenotypeReader-method getScanID,MatrixGenotypeReader-method getSnpID,MatrixGenotypeReader-method MatrixGenotypeReader MatrixGenotypeReader-class MchromCode,MatrixGenotypeReader-method nscan,MatrixGenotypeReader-method nsnp,MatrixGenotypeReader-method show,MatrixGenotypeReader-method XchromCode,MatrixGenotypeReader-method XYchromCode,MatrixGenotypeReader-method YchromCode,MatrixGenotypeReader-method
Calculate Means and Standard Deviations of IntensitiesmeanIntensityByScanChrom
Mendelian Error CheckingmendelErr
Mendelian Error CheckingmendelList mendelListAsDataFrame
Missing Counts per Scan per ChromosomemissingGenotypeByScanChrom
Missing Counts per SNP by SexmissingGenotypeBySnpSex
Class NcdfGenotypeReaderautosomeCode,NcdfGenotypeReader-method getChromosome,NcdfGenotypeReader-method getGenotype,NcdfGenotypeReader-method getPosition,NcdfGenotypeReader-method getScanID,NcdfGenotypeReader-method getSnpID,NcdfGenotypeReader-method getVariable,NcdfGenotypeReader-method MchromCode,NcdfGenotypeReader-method NcdfGenotypeReader NcdfGenotypeReader-class nscan,NcdfGenotypeReader-method nsnp,NcdfGenotypeReader-method XchromCode,NcdfGenotypeReader-method XYchromCode,NcdfGenotypeReader-method YchromCode,NcdfGenotypeReader-method
Class NcdfIntensityReaderautosomeCode,NcdfIntensityReader-method getBAlleleFreq,NcdfIntensityReader-method getChromosome,NcdfIntensityReader-method getLogRRatio,NcdfIntensityReader-method getPosition,NcdfIntensityReader-method getQuality,NcdfIntensityReader-method getScanID,NcdfIntensityReader-method getSnpID,NcdfIntensityReader-method getVariable,NcdfIntensityReader-method getX,NcdfIntensityReader-method getY,NcdfIntensityReader-method hasBAlleleFreq,NcdfIntensityReader-method hasLogRRatio,NcdfIntensityReader-method hasQuality,NcdfIntensityReader-method hasX,NcdfIntensityReader-method hasY,NcdfIntensityReader-method MchromCode,NcdfIntensityReader-method NcdfIntensityReader NcdfIntensityReader-class nscan,NcdfIntensityReader-method nsnp,NcdfIntensityReader-method XchromCode,NcdfIntensityReader-method XYchromCode,NcdfIntensityReader-method YchromCode,NcdfIntensityReader-method
Class NcdfReaderclose,NcdfReader-method getAttribute,NcdfReader-method getDimension,NcdfReader-method getDimensionNames getDimensionNames,NcdfReader-method getVariable,NcdfReader-method getVariableNames,NcdfReader-method hasCoordVariable hasCoordVariable,NcdfReader-method hasVariable,NcdfReader-method NcdfReader NcdfReader-class open,NcdfReader-method show,NcdfReader-method
Paste two vectors sorted pairwisepasteSorted
Regions of SNP-PC correlation to filter for Principal Component AnalysispcaSnpFilters pcaSnpFilters.hg18 pcaSnpFilters.hg19 pcaSnpFilters.hg38
Testing for internal consistency of pedigreespedigreeCheck
Remove duplicates from a pedigreepedigreeDeleteDuplicates
Find a maximal set of unrelated individuals in a subset of a pedigree.pedigreeMaxUnrelated
Assign relatedness from pedigree datapedigreePairwiseRelatedness
Utilities to create and check PLINK filesplinkCheck plinkWrite
Plot B Allele Frequency and Log R Ratio for the X and Y chromosomes, overlaying XY SNPspseudoautoIntensityPlot
Pseudoautosomal region base positionspseudoautosomal pseudoautosomal.hg18 pseudoautosomal.hg19 pseudoautosomal.hg38
QQ plot for genome wide assocation studiesqqPlot
Mean and median quality score for scansqualityScoreByScan
Mean and median quality score for SNPsqualityScoreBySnp
Read and write the first n lines of a filereadWriteFirst
Mean and Variance information for full-sibs, half-sibs, first-cousinsrelationsMeanVar
Save an R object with a new namesaveas
Class ScanAnotationDataFramegetAnnotation,ScanAnnotationDataFrame-method getMetadata,ScanAnnotationDataFrame-method getScanID,ScanAnnotationDataFrame-method getSex,ScanAnnotationDataFrame-method getVariable,ScanAnnotationDataFrame-method getVariableNames,ScanAnnotationDataFrame-method hasSex,ScanAnnotationDataFrame-method hasVariable,ScanAnnotationDataFrame-method ScanAnnotationDataFrame ScanAnnotationDataFrame-class
Class ScanAnotationSQLiteclose,ScanAnnotationSQLite-method getAnnotation,ScanAnnotationSQLite-method getMetadata,ScanAnnotationSQLite-method getQuery,ScanAnnotationSQLite-method getScanID,ScanAnnotationSQLite-method getSex,ScanAnnotationSQLite-method getVariable,ScanAnnotationSQLite-method getVariableNames,ScanAnnotationSQLite-method hasSex,ScanAnnotationSQLite-method hasVariable,ScanAnnotationSQLite-method nscan,ScanAnnotationSQLite-method open,ScanAnnotationSQLite-method ScanAnnotationSQLite ScanAnnotationSQLite-class show,ScanAnnotationSQLite-method writeAnnotation,ScanAnnotationSQLite-method writeMetadata,ScanAnnotationSQLite-method
Write a new netCDF or GDS file, setting certain SNPs to missingsetMissingGenotypes
Simulate Genotype or Intensity Matrix & Load into GDS/NetCDF FilesimulateGenotypeMatrix simulateIntensityMatrix
Class SnpAnotationDataFrameautosomeCode,SnpAnnotationDataFrame-method getAlleleA,SnpAnnotationDataFrame-method getAlleleB,SnpAnnotationDataFrame-method getAnnotation,SnpAnnotationDataFrame-method getChromosome,SnpAnnotationDataFrame-method getMetadata,SnpAnnotationDataFrame-method getPosition,SnpAnnotationDataFrame-method getSnpID,SnpAnnotationDataFrame-method getVariable,SnpAnnotationDataFrame-method getVariableNames,SnpAnnotationDataFrame-method hasVariable,SnpAnnotationDataFrame-method MchromCode,SnpAnnotationDataFrame-method SnpAnnotationDataFrame SnpAnnotationDataFrame-class XchromCode,SnpAnnotationDataFrame-method XYchromCode,SnpAnnotationDataFrame-method YchromCode,SnpAnnotationDataFrame-method
Class SnpAnotationSQLiteautosomeCode,SnpAnnotationSQLite-method close,SnpAnnotationSQLite-method getAlleleA,SnpAnnotationSQLite-method getAlleleB,SnpAnnotationSQLite-method getAnnotation,SnpAnnotationSQLite-method getChromosome,SnpAnnotationSQLite-method getMetadata,SnpAnnotationSQLite-method getPosition,SnpAnnotationSQLite-method getQuery,SnpAnnotationSQLite-method getSnpID,SnpAnnotationSQLite-method getVariable,SnpAnnotationSQLite-method getVariableNames,SnpAnnotationSQLite-method hasVariable,SnpAnnotationSQLite-method MchromCode,SnpAnnotationSQLite-method nsnp,SnpAnnotationSQLite-method open,SnpAnnotationSQLite-method show,SnpAnnotationSQLite-method SnpAnnotationSQLite SnpAnnotationSQLite-class writeAnnotation,SnpAnnotationSQLite-method writeMetadata,SnpAnnotationSQLite-method XchromCode,SnpAnnotationSQLite-method XYchromCode,SnpAnnotationSQLite-method YchromCode,SnpAnnotationSQLite-method
SNP correlation plotsnpCorrelationPlot
Utility to write VCF filegenoDataAsVCF vcfCheck vcfWrite