tests/testthat/test_AllCoeditedRegions.R

context("AllCoeditedRegions")

data(rnaedit_df)

genes_gr <- TransformToGR(
  genes_char = c("PHACTR4", "CCR5", "METTL7A"),
  type = "symbol",
  genome = "hg19"
)

test_that("AllCoeditedRegions returns a GRanges object", {
  
  out_gr <- AllCoeditedRegions(
    regions_gr = genes_gr,
    rnaEditMatrix = rnaedit_df
  )
  
  expect_output(str(out_gr), "Formal class 'GRanges'")
  
})

Try the rnaEditr package in your browser

Any scripts or data that you put into this service are public.

rnaEditr documentation built on Nov. 8, 2020, 8:26 p.m.