Skip to content

Commit

Permalink
Documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-plessy committed Jun 25, 2024
1 parent 8fd5f2d commit 28f0b15
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 3 deletions.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ LinkingTo:
Rcpp
Imports:
Biostrings,
GenomeInfoDb,
methods,
Rcpp,
rtracklayer
rtracklayer,
S4Vectors
Depends:
GenomicRanges,
R (>= 2.10)
Expand Down
10 changes: 10 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,19 @@ import(methods)
importFrom(Biostrings,DNAStringSet)
importFrom(Biostrings,readDNAStringSet)
importFrom(Biostrings,reverseComplement)
importFrom(GenomeInfoDb,"genome<-")
importFrom(GenomeInfoDb,"seqinfo<-")
importFrom(GenomeInfoDb,"seqlengths<-")
importFrom(GenomeInfoDb,genome)
importFrom(GenomeInfoDb,seqinfo)
importFrom(GenomeInfoDb,seqlengths)
importFrom(GenomicRanges,"strand<-")
importFrom(GenomicRanges,end)
importFrom(GenomicRanges,score)
importFrom(GenomicRanges,seqnames)
importFrom(GenomicRanges,start)
importFrom(GenomicRanges,strand)
importFrom(Rcpp,evalCpp)
importFrom(S4Vectors,decode)
importFrom(rtracklayer,import.bed)
useDynLib(changchang, .registration = TRUE)
11 changes: 11 additions & 0 deletions R/exampleTantan.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#' Example tantan data
#'
#' Example object loaded from the output of the `tantan -f4` program after
#' reordering and filterning columns with
#' `awk 'OFS="\t" {print $1, $2, $3, $6, $5, "."}`
#'
#' @format A [`GenomicRanges::GRanges`] object.
#'
#' @author Charles Plessy
#'
"exampleTantan"
5 changes: 4 additions & 1 deletion R/telomeres.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
#' Searches for telomeric repeats in the whole list of tandem repeats, or
#' narrowing the search on the ends of sequence features.
#'
#' @param gr A [`GenomicRanges::GRanges`] object produced by the [`loadTandems`]
#' @param gr A [`GenomicRanges::GRanges`] object produced by the [`loadTantan`]
#' function
#' @param motif The telomeric sequence motif, at the end of the plus strand,
#' like in TeloBase and the Telomerase Database.
#' @param narrow Narrow the search on the ends.
#'
#' @author Charles Plessy
#'
#' @importFrom GenomeInfoDb seqinfo seqinfo<- seqlengths seqlengths<- genome genome<-
#' @importFrom S4Vectors decode
#' @importFrom GenomicRanges start end seqnames
#' @export
#'
#' @examples
Expand Down
21 changes: 21 additions & 0 deletions man/exampleTantan.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/telomeres.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 28f0b15

Please sign in to comment.