Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiago Silva authored and Tiago Silva committed Jan 31, 2024
1 parent 51be9d2 commit bfd9e47
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 21 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by roxygen2: do not edit by hand

S3method(print,header)
export(GDCdownload)
export(GDCprepare)
export(GDCprepare_clinic)
Expand Down
18 changes: 18 additions & 0 deletions R/TCGAbiolinks-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#' The aim of TCGAbiolinks is : i) facilitate the TCGA open-access data retrieval,
#' ii) prepare the data using the appropriate pre-processing strategies,
#' iii) provide the means to carry out different standard analyses and
#' iv) allow the user to download a specific version of the data and thus to easily reproduce earlier research results.
#' In more detail, the package provides multiple methods for analysis
#' (e.g., differential expression analysis, identifying differentially methylated regions)
#' and methods for visualization (e.g., survival plots, volcano plots, starburst plots) in order to easily develop complete analysis pipelines.
#'
#' The functions you're likely to need from \pkg{TCGAbiolinks} is
#' \code{\link{GDCdownload}}, \code{\link{GDCquery}}.
#' Otherwise refer to the vignettes to see
#' how to format the documentation.
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
## usethis namespace: end
NULL
17 changes: 0 additions & 17 deletions R/TCGAbiolinks.R
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#' The aim of TCGAbiolinks is : i) facilitate the TCGA open-access data retrieval,
#' ii) prepare the data using the appropriate pre-processing strategies,
#' iii) provide the means to carry out different standard analyses and
#' iv) allow the user to download a specific version of the data and thus to easily reproduce earlier research results.
#' In more detail, the package provides multiple methods for analysis
#' (e.g., differential expression analysis, identifying differentially methylated regions)
#' and methods for visualization (e.g., survival plots, volcano plots, starburst plots) in order to easily develop complete analysis pipelines.
#'
#' The functions you're likely to need from \pkg{TCGAbiolinks} is
#' \code{\link{GDCdownload}}, \code{\link{GDCquery}}.
#' Otherwise refer to the vignettes to see
#' how to format the documentation.
#'
#' @docType package
#' @name TCGAbiolinks
NULL

#' Clinical data TCGA BRCA
#' @docType data
#' @keywords internal
Expand Down
2 changes: 1 addition & 1 deletion R/internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ get.mut.gistc.information <- function(
return(df)
}


#' @export
print.header <- function(text, type ="section"){
message(paste(rep("-",nchar(text) + 3),collapse = ""))
message(paste(ifelse(type=="section","o","oo"),text))
Expand Down
2 changes: 1 addition & 1 deletion R/prepare.R
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ colDataPrepare <- function(barcode){
# is TARGET-30-PAPKXS-01A-01D and not TARGET-30-PAPKXS-01A
if(all(is.na(idx))){
idx <- match(
stringr::str_sub(barcode,1,unique(stringr::str_length(ret$bcr_patient_barcode))),
stringr::str_sub(barcode,1,min(stringr::str_length(ret$bcr_patient_barcode))),
ret$bcr_patient_barcode
)
}
Expand Down
14 changes: 12 additions & 2 deletions man/TCGAbiolinks.Rd → man/TCGAbiolinks-package.Rd

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

0 comments on commit bfd9e47

Please sign in to comment.