View source: R/dataMngt_piechart.R
dataMngt_piechart | R Documentation |
The boolean cytokines must have this type of format : IFN-IL2-MIP1b-TNF+ in CD4
dataMngt_piechart(
data,
list_cyto,
ID,
group,
group_val = NULL,
Timepoint,
Timepoint_val = NULL,
Stim,
Stim_val,
pop_type,
gp_cyto = NULL
)
data |
|
list_cyto |
|
ID |
a character to define the colnames of ID in data_ICS |
group |
a character to define the colnames of group in data_ICS (Arm) |
group_val |
default is NULL : no filter |
Timepoint |
a character to define the colnames of Time point in data_ICS |
Timepoint_val |
default is NULL : no filter |
Stim |
a character to define the colnames of stimulation in data_ICS |
Stim_val |
|
pop_type |
a character to define the type of population (CD4 or CD8) (if your cytokines are for example : "IFN+IL2+MIP1B+ in CD4" in data) |
gp_cyto |
vector with the number of cytokines that you want to group (ex : c(2,3)) |
a data.frame
object
Mélanie Huchon
d <- dataMngt_piechart(data = ICS_data, list_cyto = c("IFN", "IL2", "MIP1b", "TNF"),
ID = "ID", group = "Arm", group_val = "Arm1", Timepoint = "TP", Timepoint_val = "TP1",
Stim = "Stim", Stim_val = "BackgroundSubstracted", pop_type = "CD4")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.