Description Usage Arguments Value Examples
Read one or multiple sample sheets in csv format. The information is used to translate between cryptic names (e.g. provided by service provider) and names that can be interpreted. As an alternative to this function, the information can be provided as data.frame with the two columns "Name" and "ID".
1 2 | read_sample_sheets(files, skip = NULL, cols = c("Sample_ID",
"SentrixBarcode_A", "SentrixPosition_A"))
|
files |
Path to sample sheet. |
skip |
Integer, lines to skip, before data is read. If not provided, the program looks for entry __[Data]__ |
cols |
Character vector, column names to use. First one is the Sample ID, Second and third ones are barcode and position. |
A data.frame containing the idat names and the meaningful names of the samples.
1 2 3 4 | if(require(brassicaData)){
samples <- read_sample_sheets(files = list.files(system.file("extdata",
package = "brassicaData"), full.names = TRUE, pattern = "csv"))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.