View source: R/cohortAnalyseBatch.R
superCohort | R Documentation |
looks for reccuring events across all individuals in a batch run
superCohort(
metaDataFile,
Rdirectory,
plotDirectory,
genome,
cpus = 1,
resourceDirectory = "superFreqResources",
excludeIndividuals = c(),
excludeSamples = c(),
...
)
metaDataFile |
character: path to the tab separated meta data file. |
Rdirectory |
character: path to the Rdirectory of the batch run. |
plotDirectory |
character: path to the plotDirectory of the batch run. |
genome |
character: The genome build. 'hg19', hg38' or 'mm10'. Default 'hg19' |
cpus |
integer: maximum number of threads used. default 1. |
resourceDirectory |
character: path to the superFreq resources. Default 'superFreqResources'. |
...: |
Remaing argument are passed to superFreq::cohortAnalyseBatch() |
This function merges the data from multiple batches, setting them up for a joint cohort analysis. Note that this is only for the purpose of a downstream cohort analysis. The output R directory cannot be run as a batch Rdirectory.
## Not run:
superFreq(metaDataFile=metaDataFile,
Rdirectory=Rdirectory,
plotDirectory=plotDirectory,
cpus=cpus,
genome=genome)
#The resource directory defaults to the same in superFreq() and superCohort()
#so do not need to be specified.
superCohort(metaDataFile=metaDataFile,
Rdirectory=Rdirectory,
plotDirectory=plotDirectory,
cpus=cpus,
genome=genome)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.