Skip to content

Commit 3b1928b

Browse files
committed
Fix a couple of long lines
1 parent 2d72661 commit 3b1928b

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

R/digestFastqs.R

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ digestFastqs <- function(fastqForward, fastqReverse = NULL,
382382
maxNReads = -1, verbose = FALSE,
383383
nThreads = 1, chunkSize = 100000,
384384
maxReadLength = 1024) {
385-
## pre-flight checks ---------------------------------------------------------
385+
## pre-flight checks ------------------------------------------------------
386386
## deprecated arguments
387387
deprecMessageColl <- paste0(
388388
"Starting from mutscan v0.3.0, collapsing of variable sequences is ",
@@ -704,7 +704,8 @@ digestFastqs <- function(fastqForward, fastqReverse = NULL,
704704
!all(grepl("^[ACGTMRWSYKVHDBN]{3}$",
705705
toupper(forbiddenMutatedCodonsReverse)) |
706706
forbiddenMutatedCodonsReverse == "")) {
707-
stop("All elements of 'forbiddenMutatedCodonsForward' and 'forbiddenMutatedCodonsReverse' must be ",
707+
stop("All elements of 'forbiddenMutatedCodonsForward' and ",
708+
"'forbiddenMutatedCodonsReverse' must be ",
708709
"character strings consisting of three valid IUPAC letters.")
709710
} else {
710711
forbiddenMutatedCodonsForward <- toupper(forbiddenMutatedCodonsForward)
@@ -754,8 +755,10 @@ digestFastqs <- function(fastqForward, fastqReverse = NULL,
754755
normalizePath(filteredReadsFastqReverse, mustWork = FALSE)
755756

756757
if ((any(fastqReverse == "") && filteredReadsFastqReverse != "") ||
757-
(all(fastqReverse != "") && filteredReadsFastqForward != "" && filteredReadsFastqReverse == "") ||
758-
(all(fastqForward != "") && filteredReadsFastqForward == "" && filteredReadsFastqReverse != "")) {
758+
(all(fastqReverse != "") && filteredReadsFastqForward != "" &&
759+
filteredReadsFastqReverse == "") ||
760+
(all(fastqForward != "") && filteredReadsFastqForward == "" &&
761+
filteredReadsFastqReverse != "")) {
759762
stop("The pairing of the output FASTQ files must be compatible ",
760763
"with that of the input files.")
761764
}

R/plotPairs.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ plotPairs <- function(se, selAssay = "counts", doLog = TRUE, pseudocount = 1,
147147
)
148148
}
149149

150-
## ----------------------------------------------------------------------- ##
150+
## --------------------------------------------------------------------- ##
151151
## Scatter plots
152-
## ----------------------------------------------------------------------- ##
152+
## --------------------------------------------------------------------- ##
153153
if (pointsType == "smoothscatter") {
154154
## Define function to create smoothscatter-like plot
155155
## (for use with ggpairs)

vignettes/mutscan.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,8 @@ that for this, at least two replicates are required.
611611
We start by looking at the design matrix, in order to determine which of the
612612
coefficients to specify for the testing in `calculateRelativeFC()`. For more
613613
information about how to set up and interpret design matrices in `edgeR` or
614-
`limma`, see e.g. [Law et al (2020)](https://f1000research.com/articles/9-1444),
614+
`limma`, see e.g.
615+
[Law et al (2020)](https://f1000research.com/articles/9-1444),
615616
or [Soneson et al (2020)](https://f1000research.com/articles/9-512).
616617

617618
```{r def-mm}

0 commit comments

Comments
 (0)