-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master: fix typo document issue 160 in readMSData2 acq num warning add a warning if acq num not sorted - close issue #160 fix confusing typo in news update readme injection time is now added by default in readMSData2 mention v2.0 and readMSData2 in main vignette suggest on latest msdata fix bug in addInjectionTime rename to addInjectionTime new injectionTime method (see issue #159) - code in previous commit specify pattern when getting msdata::proteomics files new gh devel version From: Laurent <[email protected]> git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/MSnbase@122003 bc3139a8-67e5-0310-9ffc-ced21a209358
- Loading branch information
l.gatto
committed
Oct 6, 2016
1 parent
1ffc6b8
commit e108d6b
Showing
13 changed files
with
50 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## These data should eventually be extracted in mzR and added to the | ||
## default header | ||
|
||
injectionTimeFromFile1 <- function(f) { | ||
xvals <- vector("list", length = length(f)) | ||
doc <- XML::xmlInternalTreeParse(f) | ||
namespaceDef <- XML::getDefaultNamespace(doc) | ||
ns <- c(x = namespaceDef[[1]]$uri) | ||
x <- XML::xpathApply(doc, "//x:cvParam[@accession = 'MS:1000927']", | ||
namespaces = ns, xmlAttrs) | ||
xvals <- sapply(x, "[", "value") | ||
as.numeric(unlist(xvals)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters