tests/testthat/test-convertFishalyserCsvToCountMatrix.R

context("Testing conversion between FISHalyseR's outputted CSV to a frenchFISH probeCounts matrix")

test_that("convertFishalyserCsvToCountMatrix function works", {
  expect_error(convertFishalyserCsvToCountMatrix(5), "pathToFishalyserCsv must be a string")
  expect_error(convertFishalyserCsvToCountMatrix("/this/path/doesnt/exist/fishalyser_counts.csv"), "/this/path/doesnt/exist/fishalyser_counts.csv does not exist")
})

Try the frenchFISH package in your browser

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

frenchFISH documentation built on Nov. 8, 2020, 6:57 p.m.