Description Usage Arguments Value Examples
View source: R/util_GetSitesLocations.R
Extract and order RNA editing sites located within an input genomic region.
1 2 3 4 5 | GetSitesLocations(
region_df,
rnaEditMatrix,
output = c("locationsOnly", "locationsAndValues")
)
|
region_df |
A data frame with the input genomic region. Please make
sure columns |
rnaEditMatrix |
A matrix (or data frame) of RNA editing level values on
individual sites, with row names as site IDs in the form of
"chrAA:XXXXXXXX", and column names as sample IDs. Please make sure to
follow the format of example dataset ( |
output |
Type of output data. Defaults to |
When output
is set to "locationsOnly"
, a data frame of
extracted and ordered RNA editing sites with columns chr
and
pos
will be returned.
When output
is set to "locationsAndValues"
, a data frame of
RNA editing level values from the extracted and ordered sites will be
returned. Please note that site IDs will be in row names of the output
data frame.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data (rnaedit_df)
exm_region <- data.frame(
seqnames = "chr1",
start = 28000000,
end = 28826881,
stringsAsFactors = FALSE
)
GetSitesLocations(
region_df = exm_region,
rnaEditMatrix = rnaedit_df,
output = "locationsOnly"
)[1:3, ]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.