Description Usage Arguments Value Examples
given a beta matrix with list of cpgs, extract pc1 of each slot of the list and return the pc1 score data frame
1 | getPC1(clust_ls, train_df, test_df)
|
clust_ls |
list of cpgs |
train_df |
beta or M value matrix with train samples |
test_df |
beta or M value matrix with test samples |
a list contains performance of predicition
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
data(aclust.listDemo)
data(ExampleMvalue_train)
data(ExampleMvalue_test)
test <- getPC1(
clust_ls = aclust.listDemo,
train_df = ExampleMvalue_train[,-1],
test_df = ExampleMvalue_test[,-1]
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.