Commit e1e6552e authored by rhpvorderman's avatar rhpvorderman

Added scaladoc

parent 1e46be60
...@@ -86,6 +86,11 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r ...@@ -86,6 +86,11 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r
else fqModules else fqModules
} }
/**
* Retrieves a map to be used for plotting GC distribution
*
* @return a map with GC content [Int] as key and Count [Double] as value
*/
def gcDistribution: Option[Map[Int, Double]] = { def gcDistribution: Option[Map[Int, Double]] = {
qcModules.get("Per sequence GC content").map { module => qcModules.get("Per sequence GC content").map { module =>
module.lines.filter(!_.startsWith("#")).map { line => module.lines.filter(!_.startsWith("#")).map { line =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment