miRNA_expressionPreprocessing {MiRNAQCD} | R Documentation |
Pre-processing of datasets.
Description
This function carries out the pre-processing required by the other functions of the miRNA-QC-and-Diagnosis package.
Usage
miRNA_expressionPreprocessing(inputDataset, multipletSize)
Arguments
inputDataset |
Dataset (data frame) to be pre-processed. The data frame must contain the columns 'Subject', 'miRNA', 'Value' and possibly 'Class'. Any other column is ignored, and any missing column forbids execution. Please note that using the character '-' within the dataset causes undefined behaviour (even if data were correctly loaded by 'read.table'). |
multipletSize |
Size of the multiplets to be considered. Any multiplet of different size is ignored. |
Value
A pre-processed data frame, containing the columns 'Subject', 'miRNA', 'Mean', 'StdDev', 'SampleSize', and possibly 'Class'.
Please refer to the user manual installed in "/path-to-library/MiRNAQCD/doc/manual.pdf" for detailed function documentation. The path "/path-to-library" can be shown from R by calling ".libPaths()"
Examples
requiredFile = paste(system.file(package="MiRNAQCD"), "/extdata/test_dataset_alpha.dat", sep='')
myDataFrame <- read.table(file=requiredFile, header=TRUE)
myPreprocessedDataFrame <- miRNA_expressionPreprocessing(myDataFrame, 3)