Description Usage Arguments Value Examples
View source: R/addCohortEnrichToIndividuals.R
Adds the columns in columnsToAdd from the whole cohort path enrichment to the path enrichments for each patient.
1 2 | addCohortToIndividuals(res, columnsToAdd = grep(pattern = "hyper",
colnames(res$pathsummary))[1]:ncol(res$pathsummary))
|
res |
The results list object containing slots named path_summar y_each_patient and pathsummary. |
columnsToAdd |
The columns from mainPathSum to add to each individual patient path summary |
The list of path summary results for each patient.
1 2 3 4 5 6 7 | tstudy = getTestStudyObject()
all_results = slot(object=tstudy, name="results")
psep = addCohortToIndividuals(res=all_results$somatic_mutation_aberration_summary)
## Not run:
View(psep$p1$pathsummary)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.