|
80 | 80 | #' \item outCombined - the \code{digestFastqs} output for the combined run. |
81 | 81 | #' } |
82 | 82 | #' |
| 83 | +#' @examples |
| 84 | +#' fqFile <- system.file("extdata", "cisInput_1.fastq.gz", |
| 85 | +#' package = "mutscan") |
| 86 | +#' out <- linkMultipleVariants( |
| 87 | +#' combinedDigestParams = list(fastqForward = fqFile, |
| 88 | +#' elementsForward = "SVCV", |
| 89 | +#' elementLengthsForward = c(1, 10, 18, 96)), |
| 90 | +#' # the first variable sequence is the UMI |
| 91 | +#' umi = list(fastqForward = fqFile, elementsForward = "SVCS", |
| 92 | +#' elementLengthsForward = c(1, 10, 18, 96)), |
| 93 | +#' # the second variable sequence is the amplicon variant |
| 94 | +#' var = list(fastqForward = fqFile, elementsForward = "SSCV", |
| 95 | +#' elementLengthsForward = c(1, 10, 18, 96), |
| 96 | +#' collapseMaxDist = 3, collapseMinScore = 1) |
| 97 | +#' ) |
| 98 | +#' # conversion tables |
| 99 | +#' lapply(out$convSeparate, head) |
| 100 | +#' # aggregated count table |
| 101 | +#' head(out$countAggregated) |
| 102 | +#' |
83 | 103 | #' @importFrom dplyr select rename group_by summarize across matches mutate |
84 | 104 | #' @importFrom tidyr separate separate_rows |
85 | 105 | #' @importFrom rlang .data |
|
0 commit comments