categorize_data: Categorize data based on plate median

Description Usage Arguments Value Examples

Description

The function categorize_data will classify the given data data_area on the basis of plate median and after removing missing values NA.

Usage

1
categorize_data(data_area, empty_indices)

Arguments

data_area

A numerical vector giving the colony size of a plate

empty_indices

A numerical vector giving the indices of empty spot locations on a plate

Value

A character vector with different classes of data

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data_area <- simulated_data_1536(data_384 = colonyarea$data_subtypes,
                                 in_data_flow = "across",
                                 out_data_flow = "down",
                                 is_plate_coords = FALSE)

empty_indices <- which(convert_small_to_large(plate_from = 384,
                                              plate_to = 1536,
                                              data_from = colonyarea$data_subtypes,
                                              in_data_flow = 'across',
                                              out_data_flow = "down",
                                              is_plate_coords = FALSE)$y %in% 'Empty')

vec1 <- categorize_data(data_area$y, empty_indices)
head(vec1)

sathishsrinivasank/pinerrordetector documentation built on May 7, 2019, 2:55 a.m.