Commit b1b555c6 authored by aditya.bhagwat's avatar aditya.bhagwat
Browse files

CHECK Fixes

parent 7d2ec7c1
Pipeline #130947 passed with stages
in 40 seconds
......@@ -20,13 +20,13 @@ OUTDIR <- '~/multicrisprout'
#' Has been indexed?
#' @param bsgenome BSgenome
#' @param indexedgenomesir directory with indexed genomes
#' @param indexedgenomesdir directory with indexed genomes
#' @examples
#' bsgenome <- BSgenome.Hsapiens.NCBI.GRCh38::BSgenome.Hsapiens.NCBI.GRCh38
#' bsgenome <- BSgenome.Hsapiens.UCSC.hg38::BSgenome.Hsapiens.UCSC.hg38
#' has_been_indexed(bsgenome)
#' @export
has_been_indexed <- function(bsgenome, indexedgenomesdir = INDEXEDGENOMESDIR){
dir.exists(multicrispr:::genome_dir(bsgenome = bsgenome))
dir.exists(genome_dir(bsgenome = bsgenome))
}
......
......@@ -9,12 +9,12 @@ has_been_indexed(bsgenome, indexedgenomesdir = INDEXEDGENOMESDIR)
\arguments{
\item{bsgenome}{BSgenome}
\item{indexedgenomesir}{directory with indexed genomes}
\item{indexedgenomesdir}{directory with indexed genomes}
}
\description{
Has been indexed?
}
\examples{
bsgenome <- BSgenome.Hsapiens.NCBI.GRCh38::BSgenome.Hsapiens.NCBI.GRCh38
bsgenome <- BSgenome.Hsapiens.UCSC.hg38::BSgenome.Hsapiens.UCSC.hg38
has_been_indexed(bsgenome)
}
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