Description Usage Arguments Value Examples
function that split methylation data into train and test
1 | methSplit(rowNum, Beta_df, designInfo_df)
|
rowNum |
number of row of information_df |
Beta_df |
data frame that each row is a cpg probe, each col is a sample id, each cell is a M value, first column is the phenodata |
designInfo_df |
df create by function summaryInfo |
A list of two elements containing the train and test beta matrix
Train_df
: A data frame of the train sample beta values
Test_df
: A data frame of the test sample beta values
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data(Example_df)
data(pfcInfo_df)
data_ls <- methSplit(
rowNum = 1,
Beta_df = Example_df,
designInfo_df = pfcInfo_df
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.