Skip to contents

Read a QuPath measurement export

Usage

cr_read_qupath(path)

Arguments

path

Path to QuPath TSV.

Value

A tibble with standardised column names.

Examples

f <- tempfile(fileext = ".tsv")
writeLines(
  c("Image\tCentroid X um\tCentroid Y um\tArea um^2\tCell: marker_1 mean",
    "A01.ome.tif\t10\t12\t120\t0.44",
    "A01.ome.tif\t30\t42\t118\t0.51"),
  f
)
cr_read_qupath(f)
#> # A tibble: 2 × 6
#>   cell_id well      x     y  area marker_1
#>   <chr>   <chr> <dbl> <dbl> <dbl>    <dbl>
#> 1 c000001 A01      10    12   120     0.44
#> 2 c000002 A01      30    42   118     0.51