Description Usage Arguments Value Examples
View source: R/Output_Functions.R
This is a universal function for extracting only columns of interest
from a data frame. Related functions exist,
with pre-defined sets of columns,
see documentation for selectColumns_Accession
and selectColumns_Overview
.
1 | selectColumns(df, cols)
|
df |
Data frame |
cols |
Character vector with column names to be retained |
Original data frame containing only columns specified in cols
1 2 3 4 5 6 | startSpiderSeqRDemo()
df <- searchForAccession("SRR2187611", file_output = FALSE)
df_sel <- selectColumns(df, c("run_accession",
"study_accession",
"SRA_experiment_title",
"SRA_sample_attribute"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.