Description Usage Arguments Value Using df argument Examples
.searchForAccessionAcrossDBsDF
classifies accessions,
searches for them in their original database (SRA or GEO),
then, if conversion is possible, searches for corresponding accessions
in the other database (SRA or GEO). If no conversion is possible,
the columns from the corresponding database are returned empty (NAs).
1 2 3 4 5 6 7 | .searchForAccessionAcrossDBsDF(
acc_vector,
sra_columns,
geo_columns,
gse_columns,
df
)
|
acc_vector |
A vector of accessions (all must belong to the same type) |
sra_columns |
A character vector with names of the columns to be returned from SRA |
geo_columns |
A character vector with names of the columns to be returned from GEO |
df |
(OPTIONAL) a data frame to be used as either SRA or GEO data frame |
A data frame with the results of the query
When data frame argument is provided, corresponding columns (sra_columns for SRA or geo_columns and gse_columns for GEO) will be disregarded (and are not necessary to provide, but only if using named arguments). Accession vector is only used to classify the input data frame.
1 2 3 4 5 6 7 8 | ## Setup SpiderSeqR environment first (please use non-demo version)
## startSpiderSeqRDemo()
## .searchForAccessionAcrossDBsDF("GSE48253", "*", "*", "*")
## df argument is optional
## If using named arguments,
## it is not necessary to provide columns from the original df
# .searchForAccessionAcrossDBsDF(acc_vector = df$gsm,sra_columns="*",df=df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.