analysis_cluster: Clustering patients based on the disease

Description Usage Arguments Examples

Description

Clustering patients based on the disease

Usage

1
analysis_cluster(input, clusterSubject, Model, clustermax, itermax, mc)

Arguments

input

the dataframe having patientd ID and phenotype information

clusterSubject

A vector of phenotypes or ICD-9 codes of disease of interest that is used to cluster the patients

Model

What Cluster model you are selecting!For example Model=Patients will cluster the patients based on different phenotypes

clustermax

Maximum threshold of number of clusters that is defined for mode-based cluster function

itermax

Maximum number of iteration to analysis

mc

number of cores for cluster Analysis

Examples

1
2
3
4
5
6
7
example1 <- analysis_cluster (
                    input                =ASDGI patients,
                    clusterSubject       =Gastrointestinal phenotypes,
                    clustermax            =5,
                    itermax              =200,
                    mc                   =2,
                    Model                =Phenotype)

NiloofarJalali/clusterAnalysis documentation built on May 9, 2019, 8:03 p.m.