Description Usage Arguments Value See Also Examples
View source: R/checkDataFile.R
The function takes as input a data file (see datafileTemplate
), and checks whether it is in a format acceptable to be used as input to other functions.
1 |
x. |
A data frame containing: the name of the file to be processed, whether it is single or paried-end data, the sample and replicate ID, and (optional) the name of an output file which results from the |
A data frame which has been modified - the column names and classes have been verified (and corrected if necessary), all white space has been removed, observations relating to files which do not exist in the directory have been removed. The function also prints out any duplicated files - these should be removed by the user to prevent complications downstream.
1 2 3 4 | dirPath <- system.file("extdata", "RNA-Seq-data", package = "RNASeqAnalysis")
setwd(dirPath)
dataF <- read.csv("data3.csv")
checkDataFile(dataF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.