readSdrf | R Documentation |
This function allows reading proteomics meta-data from sdrf file, as they are provided on https://github.com/bigbio/proteomics-sample-metadata. A data.frame containing all annotation data will be returned. To stay conform with the (non-obligatory) recommendations, columnnames are shown as lower caps.
readSdrf(
fi,
chCol = "auto",
urlPrefix = "github",
silent = FALSE,
callFrom = NULL,
debug = FALSE
)
fi |
(character) main input; may be full path or url to the file with meta-annotation. If a short project-name is given,
it will be searched based at the location of |
chCol |
(character, length=1) optional checking of column-names |
urlPrefix |
(character, length=1) prefix to add to search when no complete path or url is given on |
silent |
(logical) suppress messages |
callFrom |
(character) allows easier tracking of messages produced |
debug |
(logical) display additional messages for debugging |
The packages utils and wrMisc must be installed.
Please note that reading sdrf files (if not provided as local copy) will take a few seconds, depending on the responsiveness of github.
This function only handles the main reading of sdrf data and some diagnostic checks.
For mining sdrf data please look at replicateStructure
and readSampleMetaData
.
This function returns the content of sdrf-file as data.frame (or NULL
if the corresponding file was not found)
readSampleMetaData
, replicateStructure
,
## This may take a few sconds...
sdrf001819 <- readSdrf("PXD001819")
str(sdrf001819)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.