prcesDF4modelInhouse: Process Data Frame in In-House Format for Model Building
Description
This function takes a data frame in an in-house format and processes it
to make it in longer format and round the value of the power to 3 digits
for building a model. It reshapes the data from a wide format to a long
format, extracting and manipulating columns related to replicate numbers and power values.
This function is needed when user has a data frame similar to the in-house format.
For the purpose of creating model the user should also have Heritability class and log fold change value too.
Usage
prcesDF4modelInhouse(df4modelInhouseFmt)
Value
A data frame in long format with columns:
NoOfReplicates
Numeric representation of the replicate number extracted from column names (R1, R2, etc.).
pwr
Power values rounded to 3 decimal places corresponding to the replicate number.
Arguments
df4modelInhouseFmt
A data frame containing the input data in in-house format.
The columns should include replicate columns named starting with "R" (e.g., R1, R2, etc.).