plate_median: Plate median of the given colony area of a plate

Description Usage Arguments Value Examples

Description

Plate median of the given colony area of a plate. It removes colony area of empty indices before computing the median of the plate.

Usage

1
plate_median(empty_indices = NULL, colony_area_raw_data, na.rm = TRUE)

Arguments

empty_indices

A numeric vector of indexed empty locations. It can also be the indices of control colonies grown on a plate, which may be used for normalizing the colony area of a plate

colony_area_raw_data

A numeric vector of raw data representing the area yeast grown at a specific location on a nutrient medium agar plate

Value

Numeric value with plate_median of the given colony_area_raw_data

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data_area <- simulated_data_1536(data_384 = colonyarea$data_subtypes,
                                 in_data_flow = "across",
                                 out_data_flow = "down",
                                 is_plate_coords = TRUE)
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')
plate_median(empty_indices, data_area$y)   # 600

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