Description Usage Arguments Value Author(s) Examples
This function collects actual sequence data per fragment for a simulated 4C-seq sample (in a fragment table format), and exports them with a high quality score per read as a fastq file.
1 | printFastq(simTable, simLib, ID, firstCutter, lengthRead = 26)
|
simTable |
virtual simulation fragment library with fragment read counts representing a simulated 4C-seq sample |
simLib |
original virtual simulation fragment library, with fragment end sequences for simulation purposes |
ID |
sample name |
firstCutter |
first restriction enzyme sequence |
lengthRead |
read length (to check for too short fragments which can cause errors in other programs when exported) |
An exported fastq file for a simulated 4C-seq sample
Carolin Walter
1 2 3 4 5 6 7 8 9 | if(interactive()) {
simLibFile <- system.file("extdata", "simLib_short.csv",
package="Basic4CSim")
simLib = read.csv(simLibFile, sep = "\t", header = TRUE)
simTableFile <- system.file("extdata", "simTable_adapted.csv",
package="Basic4CSim")
simTable = read.csv(simTableFile, sep = "\t", header = TRUE)
printFastq(simTable, simLib, "test", "CATG")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.