Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lgatto committed Mar 11, 2024
1 parent 79f50ce commit 0af0e5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ addLegend <- function(object,

##' Highlights a set of features of interest given as a
##' \code{FeaturesOfInterest} instance on a PCA plot produced by
##' code{plot2D} or \code{plot3D}. If none of the features of interest
##' \code{plot2D} or \code{plot3D}. If none of the features of interest
##' are found in the \code{MSnset}'s \code{featureNames}, an warning
##' is thrown.
##'
Expand All @@ -831,7 +831,7 @@ addLegend <- function(object,
##' variable name to be used to label the features of
##' interest. This is only valid if \code{object} is an
##' \code{MSnSet}. Alternatively, if \code{TRUE}, then
##' \code{featureNames(object)} (or code{rownames(object)}, if
##' \code{featureNames(object)} (or \code{rownames(object)}, if
##' \code{object} is a \code{matrix}) are used. Default is
##' missing, which does not add any label.s
##'
Expand Down
1 change: 1 addition & 0 deletions R/plotting3.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ setMethod("plot3D", "MSnSet",
}
invisible(xx)
})

##' @param radius Radius of the spheres to be added to the
##' visualisation produced by \code{plot3D}. Default is 0.3 (i.e
##' \code{plot3D}'s \code{radius1} * 3), to emphasise the features
Expand Down

0 comments on commit 0af0e5f

Please sign in to comment.