summaryInfo: function that create a information data frame that storage...

Description Usage Arguments Value Examples

View source: R/summaryInfo.R

Description

function that create a information data frame that storage all parameters we need

Usage

1
summaryInfo(NumOfRep, NumOfCv, seed, phenoData_df, respCol_index)

Arguments

NumOfRep

number of repeat measurements in this trial

NumOfCv

number of cross validation in this trail

seed

seed value

phenoData_df

a data frame contains sample id(in first column) and variables we interested in(in the second column), the first column should named "Sample"

respCol_index

response variable col number in beta data frame

Value

A data frame containing design experiment information

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
 data(pheno)
 information_df <- summaryInfo(
  NumOfRep = 10,
  NumOfCv = 5,
  seed = 122,
  phenoData_df = pheno,
  respCol_index = 2
 )

## End(Not run)

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