Package: RAIDS 1.12.0

Pascal Belleau

RAIDS: Robust Ancestry Inference using Data Synthesis

This package implements specialized algorithms that enable genetic ancestry inference from various cancer sequences sources (RNA, Exome and Whole-Genome sequences). This package also implements a simulation algorithm that generates synthetic cancer-derived data. This code and analysis pipeline was designed and developed for the following publication: Belleau, P et al. Genetic Ancestry Inference from Cancer-Derived Molecular Data across Genomic and Transcriptomic Platforms. Cancer Res 1 January 2023; 83 (1): 49–58.

Authors:Pascal Belleau [cre, aut], Astrid Deschênes [aut], David A. Tuveson [aut], Alexander Krasnitz [aut], National Institutes of Health [fnd]

RAIDS_1.12.0.tar.gz
RAIDS_1.12.0.zip(r-4.7-any)RAIDS_1.12.0.zip(r-4.6-any)RAIDS_1.12.0.zip(r-4.5-any)
RAIDS_1.12.0.tgz(r-4.6-any)RAIDS_1.12.0.tgz(r-4.5-any)
RAIDS_1.12.0.tar.gz(r-4.7-any)RAIDS_1.12.0.tar.gz(r-4.6-any)
RAIDS_1.12.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
RAIDS/json (API)

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

Bug tracker:https://github.com/krasnitzlab/raids/issues

Pkgdown/docs site:https://krasnitzlab.github.io

Datasets:
  • demoKnownSuperPop1KG - The known super population ancestry of the demo 1KG reference profiles.
  • demoPCA1KG - The PCA results of the demo 1KG reference dataset for demonstration purpose. Beware that the PCA has been run on a very small subset of the 1KG reference dataset and should not be used to call ancestry inference on a real profile.
  • demoPCASyntheticProfiles - The PCA result of demo synthetic profiles projected on the demo subset 1KG reference PCA.
  • demoPedigreeEx1 - The pedigree information about a demo profile called 'ex1'.
  • matKNNSynthetic - A small 'data.frame' containing the inferred ancestry on the synthetic profiles.
  • pedSynthetic - A small 'data.frame' containing the information related to synthetic profiles. The ancestry of the profiles used to generate the synthetic profiles must be present.
  • snpPositionDemo - A small 'data.frame' containing the SNV information.

On BioConductor:RAIDS-1.12.0(bioc 3.24)RAIDS-1.10.0(bioc 3.23)

geneticssoftwaresequencingwholegenomeprincipalcomponentgeneticvariabilitydimensionreductionbiocviewsancestrycancer-genomicsexome-sequencinggenomicsinferencer-languagerna-seqrna-sequencingwhole-genome-sequencing

7.42 score 7 stars 31 scripts 378 downloads 160 exports 164 dependencies

Last updated from:ad7070c169 (on RELEASE_3_24). Checks:1 WARNING, 7 NOTE, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
bioc-checksWARNING330
linux-develNOTE674
source / vignettesOK597
linux-releaseNOTE728
macos-releaseNOTE569
macos-oldrelNOTE582
windows-develNOTE642
windows-releaseNOTE420
windows-oldrelNOTE578
wasm-releaseOK245

Exports:add1KG2SampleGDSaddBlockFromDetFileaddGeneBlockGDSRefAnnotaddGeneBlockRefAnnotaddGenotypeProfileaddRef2GDS1KGaddStudy1KgancestryInferencePCAKNNanchorIdanchorId<-batchbatch<-blockTypeIdblockTypeId<-chrInfochrInfo<-cleanADMIXTUREFilescleanADMIXTUREFiles<-computeAdmixtureProportionscomputeAncestryFromSyntheticcomputeAncestryFromSynthetic2computeAncestryFromSyntheticFilecomputeKNNRefSamplecomputeKNNRefSyncomputeKNNRefSyntheticcomputePCAMultiSyntheticcomputePCARefSamplecomputePoolSyntheticAncestryGrcomputePoolSyntheticAncestryGr2computeSyntheticROCcreateAccuracyGraphcreateAUROCGraphcreateStudy2GDS1KGeigenCounteigenCount<-eigenCountSyneigenCountSyn<-estimateAllelicFractionfieldPopInfAncfieldPopInfAnc<-fieldPopInReffieldPopInRef<-fieldSubPopfieldSubPop<-fileReferenceAnnotGDSfileReferenceAnnotGDS<-fileReferenceGDSfileReferenceGDS<-generateGDS1KGgenerateMapSnvSelgeneratePhase1KG2GDSgeneratePhaseRefgenerateVCFgenomegenoSourcegenoSource<-genoTypegenoType<-getMatrixPopSyntheticgetRef1KGPopgetRefSuperPopgetRefSuperPop2groupChr1KGSNVidentifyRelativeidentifyRelativeRefinferAncestryinferAncestryDNAinferAncestryGeneAwareinferenceTypeinferenceType<-kListkList<-listPoslistPos<-minCovminCov<-minProbminProb<-nbSimnbSim<-npnp<-paramAncestryparamAncestry<-pathADMIXTUREpathADMIXTURE<-pathProfileGDSpathProfileGDS<-PCAalgorithmPCAalgorithm<-pcaListpcaList<-PCAmissingRatePCAmissingRate<-pedStudypedStudy<-phasephase<-phaseTypephaseType<-posOffsetposOffset<-pRecombpRecomb<-prefixprefix<-prepPed1KGprepPedSyntheticRefprepPMatrixprepSyntheticprofileFileprofileFile<-profileGenoSynthesispruningMethodpruningMethod<-pruningProfile2pruningSampleRAIDSparamreferencereference<-runADMIXTURErunExomeAncestryrunRNAAncestryrunSynADMIXTUREsampleRefsampleRef<-seedADMIXTUREseedADMIXTURE<-select1KGPopselect1KGPopForSyntheticselectForSyntheticseqErrorseqError<-seqErrorSynseqErrorSyn<-slideWindowMaxBPslideWindowMaxBP<-snvListVCFsnvListVCFRefspecificSNVspecificSNV<-splitSelectByPopstudyDFstudyDF<-studyDFSynstudyDFSyn<-studyTypestudyType<-syntheticGenosyntheticGeno2syntheticRefDFsyntheticRefDF<-thresholdLDthresholdLD<-verboseverbose<-writeBedProfilewriteBimPrunedwriteFamProfilewritePMatrix

Dependencies:abindAnnotationDbiAnnotationFilteraskpassbackportsBHBiobaseBiocBaseUtilsBiocGenericsBiocIOBiocParallelBiostringsbitbit64bitopsblobbootbroomBSgenomeBSgenome.Hsapiens.UCSC.hg38cachemcigarilloclassclicliprcodetoolscpp11crayoncurldata.tableDBIDelayedArraydigestDNAcopydplyrensembldbfarverfastmapforcatsforeachformatRformula.toolsfutile.loggerfutile.optionsgdsfmtgenericsGENESISgenioGenomeInfoDbGenomicAlignmentsGenomicFeaturesGenomicRangesggplot2glmnetgluegtableGWASExactHWGWASToolshavenhmshttrigraphIRangesisobanditeratorsjomojsonliteKEGGRESTKernSmoothlabelinglambda.rlatticelazyevallifecyclelme4lmtestlogistfmagrittrMASSMatrixMatrixGenericsMatrixModelsmatrixStatsmemoisemgcvmicemimeminqamitmlnlmenloptrnnetnumDerivopenssloperator.toolsordinalpanphilentropypillarpkgconfigplyrpngpoormanprettyunitspROCprogressProtGenericspurrrquantregquantsmoothR6rbibutilsRColorBrewerRcppRcppEigenRcppParallelRCurlRdpackreadrreformulasreshape2restfulrRhpcBLASctlRhtslibrjsonrlangrpartRsamtoolsRSQLitertracklayerS4ArraysS4VectorsS7sandwichscalesSeqArraySeqinfoSeqVarToolsshapesnowSNPRelateSparseArraySparseMstringistringrSummarizedExperimentsurvivalsystibbletidyrtidyselecttzdbucminfUCSC.utilsutf8VariantAnnotationvctrsviridisLitevroomwithrXMLXVectoryamlzoo

Robust Ancestry Inference using Data Synthesis
Licensing | Citing | Introduction | Installation | Using RAIDS: step-by-step explanation | Step 1. Set up working directory and provide population reference files | 1.1 Create a working directory structure | 1.2 Download the population reference files | 1.3 Install ADMIXTURE for admixture proportion inference | Step 2. Pre-process sequence read data into a profile genotype file | Step 3. Ancestry inference with RAIDS | 3.1 Define the input file paths | 3.2 Infer genetic ancestry | Post-Analysis. Examine the output of the inference call | Inspect the inference and the optimal parameters | Visualize the RAIDS performance for the synthetic data | Format population reference dataset (optional) | Acknowledgments | Session info | References

Last update: 2026-11-02
Started: 2023-03-30

Using wrappper functions
Main Steps | Main Step - Ancestry Inference | DNA Data - Wrapper function to run ancestry inference on DNA data | Population reference files | Profile SNP file | Profile PED RDS file | Example | RNA data - Wrapper function to run ancestry inference on RNA data | Format population reference dataset (optional) | Session info | References

Last update: 2025-10-07
Started: 2024-10-16

Population reference dataset GDS files
Population Reference GDS File | Population Reference Annotation GDS file | Pre-processed files, from 1000 Genomes in hg38, are available | Session info | References

Last update: 2023-09-29
Started: 2023-08-14

Readme and manuals

Help Manual

Help pageTopics
Add the genotype information for the list of pruned SNVs into the Profile GDS fileadd1KG2SampleGDS
Append information associated to ld blocks, as indexes, into the Population Reference SNV Annotation GDS fileaddBlockFromDetFile
Append information associated to blocks, as indexes, into the Population Reference SNV Annotation GDS fileaddGeneBlockGDSRefAnnot
Append information associated to blocks, as indexes, into the Population Reference SNV Annotation GDS fileaddGeneBlockRefAnnot
Add the genotype information for the list of pruned SNVs into the Profile GDS fileaddGenotypeProfile
Add the information about the unrelated patients to the Reference GDS fileaddRef2GDS1KG
Append information about the 1KG samples into the Profile GDS fileaddStudy1Kg
Run most steps leading to the ancestry inference call based on PCA and KNN on a specific profileancestryInferencePCAKNN
Generic function for getting the anchorId slot in a classanchorId
A getter for the anchorId slot in a RAIDSparam classanchorId,RAIDSparam-method
Generic function for replacement of anchorId slot in a classanchorId<-
Setter function for replacement of anchorId slot in a RAIDSparam classanchorId<-,RAIDSparam-method
Generic function for getting the batch slot in a classbatch
A getter for the batch slot in a RAIDSparam classbatch,RAIDSparam-method
Generic function for replacement of batch slot in a classbatch<-
Setter function for replacement of batch slot in a RAIDSparam classbatch<-,RAIDSparam-method
Generic function for getting the blockTypeId slot in a classblockTypeId
A getter for the blockTypeId slot in a RAIDSparam classblockTypeId,RAIDSparam-method
Generic function for replacement of blockTypeId slot in a classblockTypeId<-
Setter function for replacement of blockTypeId slot in a RAIDSparam classblockTypeId<-,RAIDSparam-method
Class Union for character or NULLCharacterOrNULL-class
Generic function for getting the chrInfo slot in a classchrInfo
A getter for the chrInfo slot in a RAIDSparam classchrInfo,RAIDSparam-method
Generic function for replacement of chrInfo slot in a classchrInfo<-
Setter function for replacement of chrInfo slot in a RAIDSparam classchrInfo<-,RAIDSparam-method
Generic function for getting the cleanADMIXTUREFiles slot in a classcleanADMIXTUREFiles
A getter for the cleanADMIXTUREFiles slot in a RAIDSparam classcleanADMIXTUREFiles,RAIDSparam-method
Generic function for replacement of cleanADMIXTUREFiles slot in a classcleanADMIXTUREFiles<-
Setter function for replacement of cleanADMIXTUREFiles slot in a RAIDSparam classcleanADMIXTUREFiles<-,RAIDSparam-method
compute admixture proportioncomputeAdmixtureProportions
Select the optimal K and D parameters using the synthetic data and infer the ancestry of a specific profilecomputeAncestryFromSynthetic
Select the optimal K and D parameters using the synthetic data and infer the ancestry of a specific profilecomputeAncestryFromSynthetic2
Select the optimal K and D parameters using the synthetic data and infer the ancestry of a specific profilecomputeAncestryFromSyntheticFile
Run a k-nearest neighbors analysis on one specific profilecomputeKNNRefSample
Run a k-nearest neighbors analysis on a subset of the synthetic datasetcomputeKNNRefSyn
Run a k-nearest neighbors analysis on a subset of the synthetic datasetcomputeKNNRefSynthetic
Project synthetic profiles onto existing principal component axes generated using the reference 1KG profilescomputePCAMultiSynthetic
Project specified profile onto PCA axes generated using known reference profilescomputePCARefSample
Run a PCA analysis and a K-nearest neighbors analysis on a small set of synthetic data using all 1KG profiles except the ones used to generate the synthetic profilescomputePoolSyntheticAncestryGr
Run a PCA analysis and a K-nearest neighbors analysis on a small set of synthetic data using all 1KG profiles except the ones used to generate the synthetic profilescomputePoolSyntheticAncestryGr2
Calculate the AUROC of the inferences for specific values of D and K using the inferred ancestry results from the synthetic profiles.computeSyntheticROC
Generate accuracy graphcreateAccuracyGraph
Generate accuracy graphcreateAUROCGraph
Create the Profile GDS file(s) for one or multiple specific profiles using the information from a RDS Sample description file and the 1KG GDS filecreateStudy2GDS1KG
Class Union for data.frame or NULLDataFrameOrNULL-class
The known super population ancestry of the demo 1KG reference profiles.demoKnownSuperPop1KG
The PCA results of the demo 1KG reference dataset for demonstration purpose. Beware that the PCA has been run on a very small subset of the 1KG reference dataset and should not be used to call ancestry inference on a real profile.demoPCA1KG
The PCA result of demo synthetic profiles projected on the demo subset 1KG reference PCA.demoPCASyntheticProfiles
The pedigree information about a demo profile called 'ex1'.demoPedigreeEx1
Generic function for getting the eigenCount slot in a classeigenCount
A getter for the eigenCount slot in a RAIDSparam classeigenCount,RAIDSparam-method
Generic function for replacement of eigenCount slot in a classeigenCount<-
Setter function for replacement of eigenCount slot in a RAIDSparam classeigenCount<-,RAIDSparam-method
Generic function for getting the eigenCountSyn slot in a classeigenCountSyn
A getter for the eigenCountSyn slot in a RAIDSparam classeigenCountSyn,RAIDSparam-method
Generic function for replacement of eigenCountSyn slot in a classeigenCountSyn<-
Setter function for replacement of eigenCountSyn slot in a RAIDSparam classeigenCountSyn<-,RAIDSparam-method
Estimate the allelic fraction of the pruned SNVs for a specific profileestimateAllelicFraction
Generic function for getting the fieldPopInfAnc slot in a classfieldPopInfAnc
A getter for the fieldPopInfAnc slot in a RAIDSparam classfieldPopInfAnc,RAIDSparam-method
Generic function for replacement of fieldPopInfAnc slot in a classfieldPopInfAnc<-
Setter function for replacement of fieldPopInfAnc slot in a RAIDSparam classfieldPopInfAnc<-,RAIDSparam-method
Generic function for getting the fieldPopInRef slot in a classfieldPopInRef
A getter for the fieldPopInRef slot in a RAIDSparam classfieldPopInRef,RAIDSparam-method
Generic function for replacement of fieldPopInRef slot in a classfieldPopInRef<-
Setter function for replacement of fieldPopInRef slot in a RAIDSparam classfieldPopInRef<-,RAIDSparam-method
Generic function for getting the fieldSubPop slot in a classfieldSubPop
A getter for the fieldSubPop slot in a RAIDSparam classfieldSubPop,RAIDSparam-method
Generic function for replacement of fieldSubPop slot in a classfieldSubPop<-
Setter function for replacement of fieldSubPop slot in a RAIDSparam classfieldSubPop<-,RAIDSparam-method
Generic function for getting the fileReferenceAnnotGDS slot in a classfileReferenceAnnotGDS
A getter for the fileReferenceAnnotGDS slot in a RAIDSparam classfileReferenceAnnotGDS,RAIDSparam-method
Generic function for replacement of fileReferenceAnnotGDS slot in a classfileReferenceAnnotGDS<-
Setter function for replacement of fileReferenceAnnotGDS slot in a RAIDSparam classfileReferenceAnnotGDS<-,RAIDSparam-method
Generic function for getting the fileReferenceGDS slot in a classfileReferenceGDS
A getter for the fileReferenceGDS slot in a RAIDSparam classfileReferenceGDS,RAIDSparam-method
Generic function for replacement of fileReferenceGDS slot in a classfileReferenceGDS<-
Setter function for replacement of fileReferenceGDS slot in a RAIDSparam classfileReferenceGDS<-,RAIDSparam-method
Generate the GDS file that will contain the information from Reference data set (reference data set)generateGDS1KG
Generate the filter SNP information file in RDS formatgenerateMapSnvSel
Adding the phase information into the Reference GDS filegeneratePhase1KG2GDS
Adding the phase information into the Reference GDS filegeneratePhaseRef
Generate a VCF with the information from the SNPs that pass a cut-off thresholdgenerateVCF
Generic function for getting the genome slot in a classgenome
A getter for the genome slot in a RAIDSparam classgenome,RAIDSparam-method
Generic function for getting the genoSource slot in a classgenoSource
A getter for the genoSource slot in a RAIDSparam classgenoSource,RAIDSparam-method
Generic function for replacement of genoSource slot in a classgenoSource<-
Setter function for replacement of genoSource slot in a RAIDSparam classgenoSource<-,RAIDSparam-method
Generic function for getting the genoType slot in a classgenoType
A getter for the genoType slot in a RAIDSparam classgenoType,RAIDSparam-method
Generic function for replacement of genoType slot in a classgenoType<-
Setter function for replacement of genoType slot in a RAIDSparam classgenoType<-,RAIDSparam-method
Generate a matrix of synthetic group per popgetMatrixPopSynthetic
Extract the specified column from the 1KG GDS 'sample.ref' node for the reference profiles (real ancestry assignation)getRef1KGPop
Extract the from the 1KG GDS 'sample.ref' node for the reference profiles (real ancestry assignation)getRefSuperPop
Extract the specified column from the 1KG GDS 'sample.ref' node for the reference profiles (real ancestry assignation)getRefSuperPop2
Merge the genotyping files per chromosome into one filegroupChr1KGSNV
Identify genetically unrelated patients in GDS Reference fileidentifyRelative
Identify genetically unrelated patients in GDS Reference fileidentifyRelativeRef
Run most steps leading to the ancestry inference call on a specific DNA profileinferAncestry
Run most steps leading to the ancestry inference call on a specific DNA profile (alias for inferAncestry )inferAncestryDNA
Run most steps leading to the ancestry inference call on a specific RNA profileinferAncestryGeneAware
Generic function for getting the inferenceType slot in a classinferenceType
A getter for the inferenceType slot in a RAIDSparam classinferenceType,RAIDSparam-method
Generic function for replacement of inferenceType slot in a classinferenceType<-
Setter function for replacement of inferenceType slot in a RAIDSparam classinferenceType<-,RAIDSparam-method
Generic function for getting the kList slot in a classkList
A getter for the kList slot in a RAIDSparam classkList,RAIDSparam-method
Generic function for replacement of kList slot in a classkList<-
Setter function for replacement of kList slot in a RAIDSparam classkList<-,RAIDSparam-method
Generic function for getting the listPos slot in a classlistPos
A getter for the listPos slot in a RAIDSparam classlistPos,RAIDSparam-method
Generic function for replacement of listPos slot in a classlistPos<-
Setter function for replacement of listPos slot in a RAIDSparam classlistPos<-,RAIDSparam-method
A small 'data.frame' containing the inferred ancestry on the synthetic profiles.matKNNSynthetic
Generic function for getting the minCov slot in a classminCov
A getter for the minCov slot in a RAIDSparam classminCov,RAIDSparam-method
Generic function for replacement of minCov slot in a classminCov<-
Setter function for replacement of minCov slot in a RAIDSparam classminCov<-,RAIDSparam-method
Generic function for getting the minProb slot in a classminProb
A getter for the minProb slot in a RAIDSparam classminProb,RAIDSparam-method
Generic function for replacement of minProb slot in a classminProb<-
Setter function for replacement of minProb slot in a RAIDSparam classminProb<-,RAIDSparam-method
Generic function for getting the nbSim slot in a classnbSim
A getter for the nbSim slot in a RAIDSparam classnbSim,RAIDSparam-method
Generic function for replacement of nbSim slot in a classnbSim<-
Setter function for replacement of nbSim slot in a RAIDSparam classnbSim<-,RAIDSparam-method
Generic function for getting the np slot in a classnp
A getter for the np slot in a RAIDSparam classnp,RAIDSparam-method
Generic function for replacement of np slot in a classnp<-
Setter function for replacement of np slot in a RAIDSparam classnp<-,RAIDSparam-method
Generic function for getting the paramAncestry slot in a classparamAncestry
A getter for the paramAncestry slot in a RAIDSparam classparamAncestry,RAIDSparam-method
Generic function for replacement of paramAncestry slot in a classparamAncestry<-
Setter function for replacement of paramAncestry slot in a RAIDSparam classparamAncestry<-,RAIDSparam-method
Generic function for getting the pathADMIXTURE slot in a classpathADMIXTURE
A getter for the pathADMIXTURE slot in a RAIDSparam classpathADMIXTURE,RAIDSparam-method
Generic function for replacement of pathADMIXTURE slot in a classpathADMIXTURE<-
Setter function for replacement of pathADMIXTURE slot in a RAIDSparam classpathADMIXTURE<-,RAIDSparam-method
Generic function for getting the pathProfileGDS slot in a classpathProfileGDS
A getter for the pathProfileGDS slot in a RAIDSparam classpathProfileGDS,RAIDSparam-method
Generic function for replacement of pathProfileGDS slot in a classpathProfileGDS<-
Setter function for replacement of pathProfileGDS slot in a RAIDSparam classpathProfileGDS<-,RAIDSparam-method
Generic function for getting the PCAalgorithm slot in a classPCAalgorithm
A getter for the PCAalgorithm slot in a RAIDSparam classPCAalgorithm,RAIDSparam-method
Generic function for replacement of PCAalgorithm slot in a classPCAalgorithm<-
Setter function for replacement of PCAalgorithm slot in a RAIDSparam classPCAalgorithm<-,RAIDSparam-method
Generic function for getting the pcaList slot in a classpcaList
A getter for the pcaList slot in a RAIDSparam classpcaList,RAIDSparam-method
Generic function for replacement of pcaList slot in a classpcaList<-
Setter function for replacement of pcaList slot in a RAIDSparam classpcaList<-,RAIDSparam-method
Generic function for getting the PCAmissingRate slot in a classPCAmissingRate
A getter for the PCAmissingRate slot in a RAIDSparam classPCAmissingRate,RAIDSparam-method
Generic function for replacement of PCAmissingRate slot in a classPCAmissingRate<-
Setter function for replacement of PCAmissingRate slot in a RAIDSparam classPCAmissingRate<-,RAIDSparam-method
Generic function for getting the pedStudy slot in a classpedStudy
A getter for the pedStudy slot in a RAIDSparam classpedStudy,RAIDSparam-method
Generic function for replacement of pedStudy slot in a classpedStudy<-
Setter function for replacement of pedStudy slot in a RAIDSparam classpedStudy<-,RAIDSparam-method
A small 'data.frame' containing the information related to synthetic profiles. The ancestry of the profiles used to generate the synthetic profiles must be present.pedSynthetic
Generic function for getting the phase slot in a classphase
A getter for the phase slot in a RAIDSparam classphase,RAIDSparam-method
Generic function for replacement of phase slot in a classphase<-
Setter function for replacement of phase slot in a RAIDSparam classphase<-,RAIDSparam-method
Generic function for getting the phaseType slot in a classphaseType
A getter for the phaseType slot in a RAIDSparam classphaseType,RAIDSparam-method
Generic function for replacement of phaseType slot in a classphaseType<-
Setter function for replacement of phaseType slot in a RAIDSparam classphaseType<-,RAIDSparam-method
Generic function for getting the posOffset slot in a classposOffset
A getter for the posOffset slot in a RAIDSparam classposOffset,RAIDSparam-method
Generic function for replacement of posOffset slot in a classposOffset<-
Setter function for replacement of posOffset slot in a RAIDSparam classposOffset<-,RAIDSparam-method
Generic function for getting the pRecomb slot in a classpRecomb
A getter for the pRecomb slot in a RAIDSparam classpRecomb,RAIDSparam-method
Generic function for replacement of pRecomb slot in a classpRecomb<-
Setter function for replacement of pRecomb slot in a RAIDSparam classpRecomb<-,RAIDSparam-method
Generic function for getting the prefix slot in a classprefix
A getter for the prefix slot in a RAIDSparam classprefix,RAIDSparam-method
Generic function for replacement of prefix slot in a classprefix<-
Setter function for replacement of prefix slot in a RAIDSparam classprefix<-,RAIDSparam-method
Prepare the pedigree file using pedigree information from ReferenceprepPed1KG
Extract the sample information from the 1KG GDS file for a list of profiles associated to a specific study in the Profile GDS fileprepPedSyntheticRef
Generate the row for the ADMIXTURE P-matrixprepPMatrix
Add information related to the synthetic profiles (study and synthetic reference profiles information) into a Profile GDS fileprepSynthetic
Generic function for getting the profileFile slot in a classprofileFile
A getter for the profileFile slot in a RAIDSparam classprofileFile,RAIDSparam-method
Generic function for replacement of profileFile slot in a classprofileFile<-
Setter function for replacement of profileFile slot in a RAIDSparam classprofileFile<-,RAIDSparam-method
Create the gds file for the profile with the genotype and synthetic dataprofileGenoSynthesis
Generic function for getting the pruningMethod slot in a classpruningMethod
A getter for the pruningMethod slot in a RAIDSparam classpruningMethod,RAIDSparam-method
Generic function for replacement of pruningMethod slot in a classpruningMethod<-
Setter function for replacement of pruningMethod slot in a RAIDSparam classpruningMethod<-,RAIDSparam-method
Compute the list of pruned SNVs for a specific profile using the information from the Reference GDS file and a linkage disequilibrium analysispruningProfile2
Compute the list of pruned SNVs for a specific profile using the information from the Reference GDS file and a linkage disequilibrium analysispruningSample
Create a RAIDSparam objectRAIDSparam
An S4 class to represent the RAIDS parametersRAIDSparam-class
Generic function for getting the reference slot in a classreference
A getter for the reference slot in a RAIDSparam classreference,RAIDSparam-method
Generic function for replacement of reference slot in a classreference<-
Setter function for replacement of reference slot in a RAIDSparam classreference<-,RAIDSparam-method
Call ADMIXTURErunADMIXTURE
Run most steps leading to the ancestry inference call on a specific exome profilerunExomeAncestry
Run most steps leading to the ancestry inference call on a specific RNA profilerunRNAAncestry
run ADMIXTURE for the synthetic datarunSynADMIXTURE
Generic function for getting the sampleRef slot in a classsampleRef
A getter for the inferenceType slot in a RAIDSparam classsampleRef,RAIDSparam-method
Generic function for replacement of sampleRef slot in a classsampleRef<-
Setter function for replacement of sampleRef slot in a RAIDSparam classsampleRef<-,RAIDSparam-method
Generic function for getting the seedADMIXTURE slot in a classseedADMIXTURE
A getter for the seedADMIXTURE slot in a RAIDSparam classseedADMIXTURE,RAIDSparam-method
Generic function for replacement of seedADMIXTURE slot in a classseedADMIXTURE<-
Setter function for replacement of seedADMIXTURE slot in a RAIDSparam classseedADMIXTURE<-,RAIDSparam-method
Random selection of a specific number of reference profiles in each subcontinental population present in the 1KG GDS fileselect1KGPop
Random selection of a specific number of reference profiles in each subcontinental population present in the 1KG GDS file ( same as select1KGPop but the function doesn't need gds object as parameters but the file name of the referenceGDS )select1KGPopForSynthetic
Random selection of a specific number of reference profiles in each subcontinental population present in the refrence GDS file. ( call select1KGPopForSynthetic or selectHGDP1kgForSynthetic)selectForSynthetic
Generic function for getting the seqError slot in a classseqError
A getter for the seqError slot in a RAIDSparam classseqError,RAIDSparam-method
Generic function for replacement of seqError slot in a classseqError<-
Setter function for replacement of seqError slot in a RAIDSparam classseqError<-,RAIDSparam-method
Generic function for getting the seqErrorSyn slot in a classseqErrorSyn
A getter for the seqErrorSyn slot in a RAIDSparam classseqErrorSyn,RAIDSparam-method
Generic function for replacement of seqErrorSyn slot in a classseqErrorSyn<-
Setter function for replacement of seqErrorSyn slot in a RAIDSparam classseqErrorSyn<-,RAIDSparam-method
Generic function for getting the slideWindowMaxBP slot in a classslideWindowMaxBP
A getter for the slideWindowMaxBP slot in a RAIDSparam classslideWindowMaxBP,RAIDSparam-method
Generic function for replacement of slideWindowMaxBP slot in a classslideWindowMaxBP<-
Setter function for replacement of slideWindowMaxBP slot in a RAIDSparam classslideWindowMaxBP<-,RAIDSparam-method
A small 'data.frame' containing the SNV information.snpPositionDemo
Generate a VCF with the information from the SNPs that pass a cut-off thresholdsnvListVCF
Generate a VCF with the information from the SNPs that pass a cut-off thresholdsnvListVCFRef
Generic function for getting the specificSNV slot in a classspecificSNV
A getter for the specificSNV slot in a RAIDSparam classspecificSNV,RAIDSparam-method
Generic function for replacement of specificSNV slot in a classspecificSNV<-
Setter function for replacement of specificSNV slot in a RAIDSparam classspecificSNV<-,RAIDSparam-method
Group samples per subcontinental populationsplitSelectByPop
Generic function for getting the studyDF slot in a classstudyDF
Getter for the studyDF slot in a RAIDSparam classstudyDF,RAIDSparam-method
Generic function for replacement of studyDF slot in a classstudyDF<-
Replacement of studyDF slot in a 'RAIDSparam' objectstudyDF<-,RAIDSparam-method
Generic function for getting the studyDFSyn slot in a classstudyDFSyn
A getter for the studyDFSyn slot in a RAIDSparam classstudyDFSyn,RAIDSparam-method
Generic function for replacement of studyDFSyn slot in a classstudyDFSyn<-
Replacement of studyDFSyn slot in a 'RAIDSparam' objectstudyDFSyn<-,RAIDSparam-method
Generic function for getting the studyType slot in a classstudyType
A getter for the studyType slot in a RAIDSparam classstudyType,RAIDSparam-method
Generic function for replacement of studyType slot in a classstudyType<-
Setter function for replacement of studyType slot in a RAIDSparam classstudyType<-,RAIDSparam-method
Generate synthetic profiles for each cancer profile and 1KG reference profile combination and add them to the Profile GDS filesyntheticGeno
Generate synthetic profiles for each cancer profile and 1KG reference profile combination and add them to the Profile GDS filesyntheticGeno2
Generic function for getting the syntheticRefDF slot in a classsyntheticRefDF
A getter for the syntheticRefDF slot in a RAIDSparam classsyntheticRefDF,RAIDSparam-method
Generic function for replacement of syntheticRefDF slot in a classsyntheticRefDF<-
Setter function for replacement of syntheticRefDF slot in a RAIDSparam classsyntheticRefDF<-,RAIDSparam-method
Generic function for getting the thresholdLD slot in a classthresholdLD
A getter for the thresholdLD slot in a RAIDSparam classthresholdLD,RAIDSparam-method
Generic function for replacement of thresholdLD slot in a classthresholdLD<-
Setter function for replacement of thresholdLD slot in a RAIDSparam classthresholdLD<-,RAIDSparam-method
Generic function for getting the verbose slot in a classverbose
A getter for the verbose slot in a RAIDSparam classverbose,RAIDSparam-method
Generic function for replacement of verbose slot in a classverbose<-
Setter function for replacement of verbose slot in a RAIDSparam classverbose<-,RAIDSparam-method
Generate a plink bed file TODOwriteBedProfile
Generate a plink bim filewriteBimPruned
Generate a plink fam filewriteFamProfile
Generate the row for the ADMIXTURE P-matraxwritePMatrix