Description Usage Arguments Value See Also Examples
View source: R/addMissingSamples.R
This function is intended to facilitate workflow with the results of
searchAnywhere()
function. The main motivation is to provide missing
samples that did not match the query criteria, but might be useful
when searching for controls
1 | addMissingSamples(df, values = c(1, 0))
|
df |
Data frame (must be in searchForAccession or searchAnywhere output format) |
values |
A vector (length 2) indicating what will be the values assigned to the original df rows and to added rows respectively |
Data frame with added missing rows from the same GSE/SRP. It will also contain an additional column to indicate whether the row was originally present or not
Other Workflow functions:
convertAccession()
,
filterByTermByAccessionLevel()
,
filterByTerm()
,
searchForAccession()
1 2 3 4 5 | startSpiderSeqRDemo()
addMissingSamples(searchForAccession("SRR6823653"))
# NOTE: searchForAccession is used here to provide the data frame;
# in reality the data frame can be generated by most other
# SpiderSeqR functions (including search functions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.