Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Use \doi instead of \url for DOI links
  • Loading branch information
mojaveazure committed Jan 27, 2021
1 parent 2cab995 commit aacba25
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
17 changes: 7 additions & 10 deletions R/integration.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ NULL
#'
#' The main steps of this procedure are outlined below. For a more detailed
#' description of the methodology, please see Stuart, Butler, et al Cell 2019:
#' \url{https://doi.org/10.1016/j.cell.2019.05.031};
#' \url{https://doi.org/10.1101/460147}
#' \doi{10.1016/j.cell.2019.05.031}; \doi{10.1101/460147}
#'
#' First, determine anchor.features if not explicitly specified using
#' \code{\link{SelectIntegrationFeatures}}. Then for all pairwise combinations
Expand Down Expand Up @@ -448,8 +447,7 @@ FindIntegrationAnchors <- function(
#'
#' The main steps of this procedure are outlined below. For a more detailed
#' description of the methodology, please see Stuart, Butler, et al Cell 2019.
#' \url{https://doi.org/10.1016/j.cell.2019.05.031};
#' \url{https://doi.org/10.1101/460147}
#' \doi{10.1016/j.cell.2019.05.031}; \doi{10.1101/460147}
#'
#' \itemize{
#'
Expand Down Expand Up @@ -2319,8 +2317,7 @@ SelectIntegrationFeatures <- function(
#'
#' The main steps of this procedure are outlined below. For a more detailed
#' description of the methodology, please see Stuart, Butler, et al Cell 2019.
#' \url{https://doi.org/10.1016/j.cell.2019.05.031};
#' \url{https://doi.org/10.1101/460147}
#' \doi{10.1016/j.cell.2019.05.031}; \doi{10.1101/460147}
#'
#' For both transferring discrete labels and also feature imputation, we first
#' compute the weights matrix.
Expand Down Expand Up @@ -4420,14 +4417,14 @@ ValidateParams_FindTransferAnchors <- function(
} else if (reference.model.num == 0) {
if (IsSCT(query[[query.assay]])) {
stop("Given reference assay (", reference.assay,
") doesn't contain a reference SCT model.\n",
"Query assay is a SCTAssay. ",
") doesn't contain a reference SCT model.\n",
"Query assay is a SCTAssay. ",
"You can set recompute.residuals to FALSE ",
"to use Query residuals to continue the analysis",
call. = FALSE)
}
stop("Given reference assay (", reference.assay,
") doesn't contain a reference SCT model. ",
") doesn't contain a reference SCT model. ",
call. = FALSE)
} else if (reference.model.num == 1) {
new.sct.assay <- reference.assay
Expand All @@ -4445,7 +4442,7 @@ ValidateParams_FindTransferAnchors <- function(
if (!query.umi.assay %in% Assays(object = query)) {
stop("Query assay provided is an SCTAssay based on an orignal UMI assay",
" that is no longer present in the query Seurat object. Unable to",
" recompute residuals based on the reference SCT model.\n",
" recompute residuals based on the reference SCT model.\n",
"If you want to use Query SCTAssay residuals to continue the analysis, ",
"you can set recompute.residuals to FALSE", call. = FALSE)
}
Expand Down
3 changes: 1 addition & 2 deletions man/FindIntegrationAnchors.Rd

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

3 changes: 1 addition & 2 deletions man/FindTransferAnchors.Rd

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

3 changes: 1 addition & 2 deletions man/TransferData.Rd

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

0 comments on commit aacba25

Please sign in to comment.