addCohortToIndividuals: Adds path enrichment information from cohort to paths found...

Description Usage Arguments Value Examples

View source: R/addCohortEnrichToIndividuals.R

Description

Adds the columns in columnsToAdd from the whole cohort path enrichment to the path enrichments for each patient.

Usage

1
2
addCohortToIndividuals(res, columnsToAdd = grep(pattern = "hyper",
  colnames(res$pathsummary))[1]:ncol(res$pathsummary))

Arguments

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

Value

The list of path summary results for each patient.

Examples

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)

biodev/packageDir documentation built on Nov. 4, 2019, 7:19 a.m.