Description Usage Arguments Value Examples
View source: R/function_noMclust.R
groups_identification_mclust
is a function designed to separate
patients in groups, powered by mclust.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
data_type |
Type of data. It could be
|
group_number |
Numerical value indicating how many groups should be generated. |
modelName |
A character string indicating which mclust model name will be used. For more details please check mclustModelNames help file. |
uncertainty_cutoff |
Numerical value indicating which uncertainty value for the separation should be tolerated. Patients over this threshold will be removed from the analysis. |
rerun_plots |
Logical value where TRUE indicate that the function
should
run the step of group generation using the |
n_breaks |
Numerical value giving the number of cells for
the |
width, height, res, unit |
Graphical parameters. See par for more
details. As default |
image_format |
A character string indicating which image_format will be used. It could be "png" or "svg". The only unit available in "svg" is inches ('in'). The default is "png". |
save_data |
Logical value where |
env |
A character string containing the environment name that should be used. If none has been set yet, the function will create one in global environment following the standard criteria:
|
tumor |
A character string contaning one of the 33 tumors available in
the TCGA project. For instance, the |
data_base |
A character string specifying |
work_dir |
A character string specifying the path to work directory. |
name |
A character string indicating the desired values to be used in next analysis. For instance, "HIF3A" in the legacy gene expression matrix, "mir-1307" in the miRNA quantification matrix, or "HER2" in the protein quantification matrix. |
the groups generated after using the mclust analysis.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # data already downloaded using the 'download_gdc' function
concatenate_expression("gene",
name = "HIF3A",
data_base = "legacy",
tumor = "CHOL",
work_dir = "~/Desktop"
)
# separating gene HIF3A expression data patients in two groups
groups_identification_mclust("gene", 2,
name = "HIF3A",
modelName = "E",
env = CHOL_LEGACY_gene_tumor_data,
tumor = "CHOL"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.