maxCpGs: select method that find the maximum expression within a...

Description Usage Arguments Value Examples

View source: R/maxCpGs.R

Description

select method that find the maximum expression within a cluster

Usage

1
maxCpGs(clust_ls, train_df, test_df)

Arguments

clust_ls

list of cpgs, each slot contains few cpgs

train_df

data frame that each row is a train samples

test_df

data frame that each row is a test samples

Value

a list contains train data frame and test data frame and number of predictors

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
 data(aclust.listDemo)
 data(ExampleMvalue_train)
 data(ExampleMvalue_test)

 test <- maxCpGs(
   clust_ls = aclust.listDemo,
   train_df = ExampleMvalue_train[,-1],
   test_df = ExampleMvalue_test[,-1]
 )

## End(Not run)

lizhongliu1996/PredictMisc documentation built on Aug. 23, 2019, 5:55 a.m.