Description Usage Arguments Value See Also Examples
View source: R/Unifying_Functions.R
Order df rows in accession order
1 2 3 4 5 | orderDFAccessions(
df,
acc_order = c("study", "sample", "experiment", "run", "gsm"),
na.last = TRUE
)
|
df |
Data frame to be ordered (must contain columns corresponding
to types specified in |
acc_order |
A character vector with accession levels to be used for ordering (their order specifies which accession level is taken into account first). Default value lists all possible elements. |
na.last |
Logical denoting whether NA values should be placed last. Defaults to TRUE. |
Data frame with rows ordered accordingly. The row names are reset.
Other Manipulation functions:
filterByTermByAccessionLevel()
,
filterByTerm()
1 2 3 4 5 6 | # Use for ordering rows within df after manipulating it, e.g.:
startSpiderSeqRDemo()
df1 <- searchAnywhere("trimkd")
df2 <- searchAnywhere("arabidopsis")
df <- rbind(df1, df2)
df <- orderDFAccessions(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.