Export cohort method results to CSV files
exportToCsv(
outputFolder,
exportFolder = file.path(outputFolder, "export"),
databaseId,
minCellCount = 5,
maxCores = 1,
cmDiagnosticThresholds = createCmDiagnosticThresholds()
)
The folder where runCmAnalyses() generated all results.
The folder where the CSV files will written.
A unique ID for the database. This will be appended to most tables.
To preserve privacy: the minimum number of subjects contributing
to a count before it can be included in the results. If the
count is below this threshold, it will be set to -minCellCount
.
How many parallel cores should be used?
An object of type CmDiagnosticThresholds
as created using
createCmDiagnosticThresholds()
.
Does not return anything. Is called for the side-effect of populating the exportFolder
with CSV files.
This requires that runCmAnalyses()
has been executed first. It exports
all the results in the outputFolder
to CSV files for sharing with other
sites.