data: matrix or dataframe with rownames denotes different samples and colnames denotes genes p: the proportion of train or test dataset
1 | TrainandTest(data,group,p=0.25)
|
1 2 3 4 5 | data(df_50,package='Priscilla')
data(class,package='Priscilla')
dataset<-TrainandTest(df_50,class,p=0.25)
train<-dataset$train
test<-dataset$test
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.