[1] 2 3 4 2 1 2 4 5 10 11 8 9
Lokesh Mano
NBIS, SciLifeLab
14-Apr-2025
int
stands for integersdbl
stands for doubles or real numberschr
stands for character vectors or stringsdttm
stands for date and time,lgl
stands for logical with just TRUE or FALSEfctr
stands for factors which R uses to state categorical variablesdate
stands for datesYou can find what kind of vectors you have or imported by using the function class()
Sample_1 | Sample_2 | Sample_3 | Sample_4 | |
---|---|---|---|---|
ENSG00000000003 | 321 | 303 | 204 | 492 |
ENSG00000000005 | 0 | 0 | 0 | 0 |
ENSG00000000419 | 696 | 660 | 472 | 951 |
ENSG00000000457 | 59 | 54 | 44 | 109 |
ENSG00000000460 | 399 | 405 | 236 | 445 |
ENSG00000000938 | 0 | 0 | 0 | 0 |
Sample_ID | Gene | count |
---|---|---|
Sample_1 | ENSG00000000003 | 321 |
Sample_1 | ENSG00000000005 | 0 |
Sample_1 | ENSG00000000419 | 696 |
Sample_1 | ENSG00000000457 | 59 |
Sample_1 | ENSG00000000460 | 399 |
Sample_1 | ENSG00000000938 | 0 |
Sample_ID | Sample_Name | Time | Replicate | Cell | Gene | count |
---|---|---|---|---|---|---|
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000003 | 321 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000005 | 0 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000419 | 696 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000457 | 59 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000460 | 399 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000938 | 0 |
Sample_ID | Sample_Name | Time | Replicate | Cell | Gene | count |
---|---|---|---|---|---|---|
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000003 | 321 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000005 | 0 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000419 | 696 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000457 | 59 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000460 | 399 |
Sample_1 | t0_A | t0 | A | A431 | ENSG00000000938 | 0 |
data.frame
in R
:data.frame
row.names
and colnames
data.type
in Biology!?
and ??
?
help manual for a particular function??
searches the entire R
library for the termvignette("ggplot2")
T
, F
, character
and many others …scale_<aesthetic>_<type>
Discrete Colors:
scale_
, then press TABfacet_wrap
facet_grid