Description Usage Arguments Details Examples
View source: R/NanoSatelliteR_functions.R
load_squiggles() returns a list of raw Oxford Nanopore current squiggle data as generated by Signal2chunk.R
1 | load_squiggles(dir, df = NULL)
|
dir |
Path denoted as a character vector of length 1. |
df |
An optional data.frame generated by qual_reads() to selectively load squiggles. |
This function requires a path to the results produced by Signal2chunk.R load_squiggles() will recursively search the directory and read all .chunk files. Results are shown in a list separated by their respective positive or negative DNA strand origin. Optionally a data.frame generated by qual_reads() can be provided to load only reads passing QC.
1 2 3 4 | df <- load_summary("/storage/NanoSatellite_chunks/")
qc <- summary_qc(df)
df2 <- qual_reads(df,qc$center_cutoff)
squiggles <- load_squiggles("/storage/NanoSatellite_chunks/",df2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.