Description Usage Arguments Details Value Examples
Convert data into rowwise(across) or coloumnwise(down) within a plate format
1 2 | convert_down_across(plateformat, data_from, is_plate_coords = TRUE,
in_data_flow, out_data_flow)
|
plateformat |
An integer which can be one of 96 or 384 or 1536 or 6144 |
data_from |
data vector required for conversion |
is_plate_coords |
logical returns plate coordinates, if its |
in_data_flow |
A string indicating the format of the given data in
|
out_data_flow |
A string indicating the function to output the data to a desired format. It can take a value either of down or across. |
Make sure the length of the given data in data_from
argument matches
the value in plateformat
dataframe of converted data from across to down or vice versa.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | legend_txt_bg_col <- c('Empty' = 'red',
'Pinning Error' = 'black',
'Morethan Plate Median' = '#660066',
'Lessthan Plate Median' = 'green',
'Morethan 90% Plate Median' = 'cyan',
'Lessthan 25% Plate Median' = 'yellow',
'Excluded Colonies' = 'blue')
plateformat <- 384
across_384 <- convert_down_across(plateformat = plateformat,
data_from = colonyarea$data_subtypes,
is_plate_coords = TRUE,
in_data_flow = 'across',
out_data_flow = 'across')
plot_platemap(plateformat = plateformat,
plot_data = across_384,
legend_txt_bg_col = legend_txt_bg_col)
# Note the data structure is not disturbed after converting
# rowwise(across) to columnwise(down). Also, try in_data_flow = 'down'
across_down_384 <- convert_down_across(plateformat = plateformat,
data_from = colonyarea$data_subtypes,
is_plate_coords = TRUE,
in_data_flow = 'across',
out_data_flow = 'down')
plot_platemap(plateformat = plateformat,
plot_data = across_down_384,
legend_txt_bg_col = legend_txt_bg_col)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.