rnasubset: rnasubset function

Description Usage Arguments Value Examples

View source: R/rnasubset.R View source: R/patsubset.R

Description

Adds gene expression column and gene level columns to patient table

Adds gene expression column and gene level columns to patient table

Usage

1
2
3
rnasubset(pat, rna, gene, percent)

rnasubset(pat, rna, gene, percent)

Arguments

pat

data frame with patient data, each patient is one row

rna

data frame with RNAseq count values, genes in rows, patients in columns

gene

character(1) Gene symbol

percent

numeric(1) percentile of patients to compare 1-50

pat

data frame with patient data, each patient is one row

rna

data frame with RNAseq count values, genes in rows, patients in columns

gene

character(1) Gene symbol

percent

numeric(1) percentile of patients to compare 1-50

Value

Returns a data frame with additional columns for gene of interest expression levels and identifier for high, middle and low groups

Returns a data frame with additional columns for gene of interest expression levels and identifier for high, middle and low groups

Examples

1
2
3
4
5
data(skcm)
rnasubset(pat, rna, "SOX10", 10)

data(skcm)
rnasubset(pat, rna, "SOX10", 10)

pcheng84/TCGAbrowser documentation built on Sept. 7, 2021, 8:28 p.m.