Skip to content

Commit deee3e0

Browse files
committed
update
1 parent 453153d commit deee3e0

File tree

10 files changed

+36
-0
lines changed

10 files changed

+36
-0
lines changed

R/pmd.R

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
#' @param ng cutoff of global PMD's retention time group numbers
55
#' @return list with tentative isotope, multi-chargers, adducts, and neutral loss peaks' index, retention time clusters.
66
#' @examples
7+
#' \donttest{
78
#' data(spmeinvivo)
89
#' pmd <- getpaired(spmeinvivo)
10+
#' }
911
#' @seealso \code{\link{getstd}},\code{\link{getsda}},\code{\link{plotpaired}}
1012
#' @export
1113
getpaired <- function(list, rtcutoff = 10, ng = 10) {
@@ -264,9 +266,11 @@ getpaired <- function(list, rtcutoff = 10, ng = 10) {
264266
#' @param corcutoff cutoff of the correlation coefficient, default NULL
265267
#' @return list with std mass index
266268
#' @examples
269+
#' \donttest{
267270
#' data(spmeinvivo)
268271
#' pmd <- getpaired(spmeinvivo)
269272
#' std <- getstd(pmd)
273+
#' }
270274
#' @seealso \code{\link{getpaired}},\code{\link{getsda}},\code{\link{plotstd}}
271275
#' @export
272276
getstd <- function(list, corcutoff = NULL) {
@@ -511,10 +515,12 @@ getstd <- function(list, corcutoff = NULL) {
511515
#' @param corcutoff cutoff of the correlation coefficient, default NULL
512516
#' @return list with tentative isotope, adducts, and neutral loss peaks' index, retention time clusters.
513517
#' @examples
518+
#' \donttest{
514519
#' data(spmeinvivo)
515520
#' pmd <- getpaired(spmeinvivo)
516521
#' std <- getstd(pmd)
517522
#' sda <- getsda(std)
523+
#' }
518524
#' @seealso \code{\link{getpaired}},\code{\link{getstd}},\code{\link{plotpaired}}
519525
#' @export
520526
getsda <-
@@ -650,8 +656,10 @@ getsda <-
650656
#' @param freqcutoff cutoff of frequency of PMDs between RT cluster for independent peaks, default 10
651657
#' @return list with GlobalStd algorithm processed data.
652658
#' @examples
659+
#' \donttest{
653660
#' data(spmeinvivo)
654661
#' re <- globalstd(spmeinvivo)
662+
#' }
655663
#' @seealso \code{\link{getpaired}},\code{\link{getstd}},\code{\link{getsda}},\code{\link{plotstd}},\code{\link{plotstdsda}},\code{\link{plotstdrt}}
656664
#' @export
657665
globalstd <- function(list,
@@ -688,9 +696,11 @@ globalstd <- function(list,
688696
#' @return NULL
689697
#' @seealso \code{\link{getpaired}}, \code{\link{globalstd}}
690698
#' @examples
699+
#' \donttest{
691700
#' data(spmeinvivo)
692701
#' pmd <- getpaired(spmeinvivo)
693702
#' plotrtg(pmd)
703+
#' }
694704
#' @export
695705
plotrtg <- function(list, ...) {
696706
std <- list$data
@@ -724,9 +734,11 @@ plotrtg <- function(list, ...) {
724734
#' @return NULL
725735
#' @seealso \code{\link{getpaired}}, \code{\link{globalstd}}
726736
#' @examples
737+
#' \donttest{
727738
#' data(spmeinvivo)
728739
#' pmd <- getpaired(spmeinvivo)
729740
#' plotpaired(pmd)
741+
#' }
730742
#' @export
731743
plotpaired <- function(list, index = NULL, ...) {
732744
paired <- list$paired
@@ -807,10 +819,12 @@ plotpaired <- function(list, index = NULL, ...) {
807819
#' @return NULL
808820
#' @seealso \code{\link{getstd}}, \code{\link{globalstd}}
809821
#' @examples
822+
#' \donttest{
810823
#' data(spmeinvivo)
811824
#' pmd <- getpaired(spmeinvivo)
812825
#' std <- getstd(pmd)
813826
#' plotstd(std)
827+
#' }
814828
#' @export
815829
plotstd <- function(list) {
816830
std <- list$stdmass
@@ -844,10 +858,12 @@ plotstd <- function(list) {
844858
#' @return NULL
845859
#' @seealso \code{\link{getstd}}, \code{\link{globalstd}},\code{\link{plotstd}},\code{\link{plotpaired}},\code{\link{plotstdsda}}
846860
#' @examples
861+
#' \donttest{
847862
#' data(spmeinvivo)
848863
#' pmd <- getpaired(spmeinvivo)
849864
#' std <- getstd(pmd)
850865
#' plotstdrt(std,rtcluster = 6)
866+
#' }
851867
#' @export
852868
#'
853869
plotstdrt <- function(list, rtcluster, ...) {
@@ -885,9 +901,11 @@ plotstdrt <- function(list, rtcluster, ...) {
885901
#' @return NULL
886902
#' @seealso \code{\link{getstd}}, \code{\link{globalstd}},\code{\link{plotstd}},\code{\link{plotpaired}},\code{\link{plotstdrt}}
887903
#' @examples
904+
#' \donttest{
888905
#' data(spmeinvivo)
889906
#' re <- globalstd(spmeinvivo)
890907
#' plotstdsda(re)
908+
#' }
891909
#' @export
892910
plotstdsda <- function(list, index = NULL, ...) {
893911
sda <- list$sda

man/getpaired.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/getsda.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/getstd.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/globalstd.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/plotpaired.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/plotrtg.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/plotstd.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/plotstdrt.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/plotstdsda.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)