get_survAna_rates: Survival Analysis Raw Data

Description Usage Arguments Value Examples

View source: R/survivalAnalysis.R

Description

Get all raw survival analysis data for kaplan meier plots.

Usage

1
2
3
4
5
6
get_survAna_rates(
  disease_name,
  ensg_number = NULL,
  gene_symbol = NULL,
  sample_ID = NULL
)

Arguments

disease_name

The name of the dataset of interest as string. If default is set, all available datasets with corresponding informations are shown. Fuzzy search is available.

ensg_number

A vector of ensg number(s). If ensg_number is set, gene_symbol must be NULL. One of the two identifiers must be provided.

gene_symbol

A vector of gene symbol(s). If gene_symbol is set, ensg_number must be NULL.

sample_ID

A vector of sample_ID of the patient/sample of interest.

Value

A data_frame with gene and patient/sample information and the "group information" encoded by column "overexpressed". Information about expression value of the gene (FALSE = underexpression, gene expression <= mean gene expression over all samples, TRUE = overexpression, gene expression >= mean gene expression over all samples)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 # Retrieve survival rates for specif genes by ensg_numbers and specific patient/sample
get_survAna_rates(disease_name="kidney clear cell carcinoma",
                  ensg_number=c("ENSG00000259090", "ENSG00000217289"),
                  sample_ID = c("TCGA-BP-4968","TCGA-B8-A54F"))
 ## Not run: 
# Ensg_numbers and gene_symbols together.
get_survAna_pValues(disease_name = "kidney clear cell carcinoma",
                    ensg_number = c("ENSG00000259090","ENSG00000217289"),
                    gene_symbol = c("SEPT7P1","TIGAR"))

## End(Not run)

IceQueen1996/spongeAPI documentation built on March 8, 2021, 8:33 p.m.