Description Usage Arguments Value Examples
stringCoverage
takes an extractedReadsList-object and finds the coverage of every unique string for every marker in the provided list.
1 2 3 | ## S4 method for signature 'extractedReadsListReverseComplement'
stringCoverage(extractedReadsListObject,
control = stringCoverage.control())
|
extractedReadsListObject |
an extractedReadsList-object, created using the identifySTRRegions-function. |
control |
an stringCoverage.control-object. |
Returns a list, with an element for every marker in extractedReadsList-object, each element contains the string coverage of all unique strings of a given marker.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Regions identified using 'identifySTRs()'
data("identifiedSTRs")
# Limiting and restructuring
sortedIncludedMarkers <- sapply(names(identifiedSTRs$identifiedMarkersSequencesUniquelyAssigned),
function(m) which(m == flankingRegions$Marker))
# Aggregate the strings
stringCoverage(extractedReadsListObject = identifiedSTRs,
control = stringCoverage.control(
motifLength = flankingRegions$MotifLength[sortedIncludedMarkers],
Type = flankingRegions$Type[sortedIncludedMarkers],
numberOfThreads = 1,
trace = FALSE,
simpleReturn = TRUE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.