get_count_from_xy_coor | R Documentation |
Counting the number of masks in a rectangular region
get_count_from_xy_coor(file, topleft, bottomright, image, plot)
file |
_sizes_coordinates.txt |
topleft |
topleft (x,y) coordiate for a rectangular box |
bottomright |
bottomright: bottomright (x,y) coordiate for a rectangular box |
image |
image: an image for plotting |
plot |
plot: plot=TRUE shows image with rectangular box |
This function counts cells inside of rectangular box made by the topleft and bottomright xy-coordinates.
The number of masks inside of the rectangular box
Sunwoo Han
#get_count_from_xy_coor(file='M926910_Position1_CD3-BUV395_sizes_coordinates.txt',
#topleft=c(500,0), bottomright=c(1392,500),
#image='M926910_Position1_CD3-BUV395.tiff', plot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.