Description Usage Arguments Details Value See Also Examples
View source: R/im_boxplot_tcga.R
Generates a stratified boxplot for immune feature values based of a two genes.
1 2 3 4 5 6 7 8 | im_boxplot_tcga(
onco_gene,
icp_gene,
cohort,
Immune_phenotype,
sample_list,
logtrans
)
|
onco_gene |
A character indicating a single onco_gene Hugo symbol. |
icp_gene |
A character indicating a single immune checkpoint Hugo symbol. |
cohort |
a single TCGA disease |
Immune_phenotype |
an immune phenotype name as listed in TCGA_Immune_phenotypes_list. |
sample_list |
An optional character vector of TCGA samples barcodes indicating a subset of samples within a cohort. All barcodes in sample_list must be 15 character long and belong to the same cohort. |
logtrans |
An optional logical indicating if y axis should be displayed in logarithmic scale. Default is FALSE. |
Feature data is stratified based on expression quartiles of onco_gene and icp_gene. High/Low categories include samples with expression values in lower/upper quartiles correspondingly. Samples with expression values in middle quartiles are discarded. For details of quartile calculation see get_quantile_rank
function.
Pvalues are calculated using Wilcoxon test.
a list of multiple dataframes of correlation coefficients and p.values
get_quantile_rank
1 2 | im_boxplot_tcga(onco_gene = "BRAF", icp_gene="CD274",
cohort="acc", Immune_phenotype="Mast.Cells.Activated",logtrans=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.