Skip to content

Commit

Permalink
add more usage
Browse files Browse the repository at this point in the history
  • Loading branch information
yufree committed Apr 8, 2024
1 parent 3f222a1 commit b7bf886
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vignettes/globalstd.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,13 @@ plotstdsda(sda2)
When you only have data of peaks without retention time or compounds list, structure/reaction directed analysis could also be done by `getrda` function.

```{r rda}
sda <- getrda(spmeinvivo$mz[std$stdmassindex])
sda <- getrda(spmeinvivo$mz)
# check high frequency pmd
colnames(sda)
# get certain pmd related m/z
idx <- sda[,'2.016']
# show the m/z
spmeinvivo$mz[idx]
```

## Wrap function for GlobalStd algorithm
Expand Down

0 comments on commit b7bf886

Please sign in to comment.