importPlatemapXML: importPlatemapXML

Description Usage Arguments Value Examples

View source: R/importPlatemapXML.R

Description

Imports .Platemap XML files from Incucyte Zoom software and extracts information in the Compound, GrowthCondition and CellType fields.

Usage

1
importPlatemapXML(filepath, control_cpd = "DMSO")

Arguments

filepath

Path to a .Platemap XML file generated by the Incucyte Zoom software

control_cpd

Specify the compound to use as baseline. Defaults to DMSO

Value

data frame

Examples

1
2
3
4
5
6
7
8
9
#example data 1
pm_file <- system.file(file='extdata/example.PlateMap', package='IncucyteDRC')
test_pm <- importPlatemapXML(pm_file)
head(test_pm)

#example data 2
pm_file2 <- system.file(file='extdata/example2.PlateMap', package='IncucyteDRC')
test_pm2 <- importPlatemapXML(pm_file2)
head(test_pm2)

Example output

Importing platemap xml from /usr/local/lib/R/site-library/IncucyteDRC/extdata/example.PlateMap
Plate map import successful!
  row col sampleid conc samptype concunits growthcondition celltype passage
1   1   1        -   NA        B      <NA>            <NA>     <NA>    <NA>
2   1   2        -   NA        B      <NA>            <NA>     <NA>    <NA>
3   1   3        -   NA        B      <NA>            <NA>     <NA>    <NA>
4   1   4        -   NA        B      <NA>            <NA>     <NA>    <NA>
5   1   5        -   NA        B      <NA>            <NA>     <NA>    <NA>
6   1   6        -   NA        B      <NA>            <NA>     <NA>    <NA>
  seedingdensity wellid
1           <NA>     A1
2           <NA>     A2
3           <NA>     A3
4           <NA>     A4
5           <NA>     A5
6           <NA>     A6
Importing platemap xml from /usr/local/lib/R/site-library/IncucyteDRC/extdata/example2.PlateMap
Plate map import successful!
  row col sampleid conc samptype concunits growthcondition celltype passage
1   1   1        -   NA        B      <NA>            <NA>     <NA>    <NA>
2   1   2        -   NA        B      <NA>            <NA>     <NA>    <NA>
3   1   3        -   NA        B      <NA>            <NA>     <NA>    <NA>
4   1   4        -   NA        B      <NA>            <NA>     <NA>    <NA>
5   1   5        -   NA        B      <NA>            <NA>     <NA>    <NA>
6   1   6        -   NA        B      <NA>            <NA>     <NA>    <NA>
  seedingdensity wellid
1           <NA>     A1
2           <NA>     A2
3           <NA>     A3
4           <NA>     A4
5           <NA>     A5
6           <NA>     A6

IncucyteDRC documentation built on May 2, 2019, 8:32 a.m.