README.md 1.92 KB
Newer Older
Gael  MILLOT's avatar
Gael MILLOT committed
1
2
3
#### DESCRIPTION

Cute Little Functions contains 16 functions for R/RStudio that facilitate basic procedures in 1) object analysis, 2) object modification, 3) graphic handling and 4) log file management.
Gael  MILLOT's avatar
Gael MILLOT committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
The function names are:
fun_param_check()
fun_object_info()
fun_1D_comp()
fun_2D_comp()
fun_list_comp()
fun_dataframe_flipping()
fun_refactorization()
fun_rounding()
fun_90clock_matrix_rot()
fun_hexa_hsv_color_matrix()
fun_window_width_resizing()
fun_open_window()
fun_graph_param_prior_plot()
fun_feature_post_plot()
fun_close_specif_window()
fun_export_data()
Gael  MILLOT's avatar
Gael MILLOT committed
21
22
23
24


#### HOW TO USE IT

Gael  MILLOT's avatar
Gael MILLOT committed
25
26
27
28
Download the desired Tagged version, never the current master.

Source the cute_little_functions.R into R/RStudio to have the functions available in the working environment.

Gael  MILLOT's avatar
Gael MILLOT committed
29
Description of the functions is at the beginning of the function body. To obtain it:
Gael  MILLOT's avatar
Gael MILLOT committed
30

Gael  MILLOT's avatar
Gael MILLOT committed
31
	Either read the cute_little_functions.docx (or open the cute_little_functions.R file).
Gael  MILLOT's avatar
Gael MILLOT committed
32
	
Gael  MILLOT's avatar
Gael MILLOT committed
33
	Or in the R/RStudio console, type the name of the function without brackets. Example : fun_object_info.
Gael  MILLOT's avatar
Gael MILLOT committed
34
35


Gael  MILLOT's avatar
Gael MILLOT committed
36
#### FILE DESCRIPTIONS
Gael  MILLOT's avatar
Gael MILLOT committed
37

Gael  MILLOT's avatar
Gael MILLOT committed
38
39
40
cute_little_functions.R	file that has to be sourced
cute_little_functions.docx	just for easier code reading
examples_alone.txt	compile all the examples of each of the 16 functions into a single file
Gael  MILLOT's avatar
Gael MILLOT committed
41
42
43
44
45
46
47


#### WEB LOCATION

Check for updated versions (more recent release tags) at https://gitlab.pasteur.fr/gmillot/cute_little_functions


Gael  MILLOT's avatar
Gael MILLOT committed
48
#### WHAT'S NEW IN
Gael  MILLOT's avatar
Gael MILLOT committed
49

Gael  MILLOT's avatar
Gael MILLOT committed
50
51
52
53
54
## v2.0.1

1) functions that use other functions from this toolset now check if these required functions are indeed present in the R environment


Gael  MILLOT's avatar
Gael MILLOT committed
55
56
57
58
59
60
61
62
63
64
65
66
## v2.0.0

1) fun_feature_post_plot() function improved: Now independent magnification for x axis/labels and y axis/labels. BEWARE: argument names have been modified

2) Bug corrected in fun_graph_param_prior_plot() function

3) Bug corrected in fun_refactorization() function


## v1.3

1) fun_1D_comp() function improved: provide the common elements, common names and common levels if exist.