aggr_proj_study_by_pheno: Aggregate project, study info by phenotype column(s)

Description Usage Arguments Details Examples

View source: R/measurement-statistics.R

Description

Aggregate project, study info by phenotype column(s)

Usage

1
aggr_proj_study_by_pheno(filter_column, method = 1, con = NULL)

Arguments

filter_column

one or more filte rcolumns to aggregate by

Details

Aggregate project and study information by selected phenotype columns For example, disease is phenotype related information that is retained under the BIOSAMPLE entity. If we specify filter_column = 'primary_disease', then the function aggregates counts by disease by study. Function also joins in project id and name

Examples

1
2
3
4
5
aggr_proj_study_by_pheno(filter_column = c('sample_cell_type', 'sample_molecule_type'))
          returns
          study_id study_version project_id  project_name          study_name     filter_column     filter_value      total
          528      237             1          1 MMRF CoMMpass MMRF CoMMpass IA13a primary_disease   multiple myeloma  2035
          529      238             1          1 MMRF CoMMpass MMRF CoMMpass IA14a primary_disease   multiple myeloma  2072

Paradigm4/insight documentation built on April 5, 2020, 1:12 p.m.