View source: R/util_OrderSitesByLocation.R
| OrderSitesByLocation | R Documentation |
Split RNA editing sites locations into chromosomes and positions, and then order the sites by their genomic locations.
OrderSitesByLocation(sites_char, output = c("dataframe", "vector"))
sites_char |
A character vector of RNA editing sites. site IDs should be in the form of "chrAA:XXXXXXXX". |
output |
Type of output data. Defaults to |
Depends on the output type. When output is set as
"vector", a character vector of ordered input RNA editing sites
will be returned. When output is set as "dataframe", a
data frame of ordered RNA editing sites with following columns will be
returned:
site : site ID.
chr : chromosome number.
pos : genomic location.
exm_sites <- c(
"chr22:41327462", "chr22:24969087",
"chr22:29538891", "chr22:45736763"
)
OrderSitesByLocation(
sites_char = exm_sites,
output = "dataframe"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.