subdata: Splite data into two subsets

Description Usage Arguments Details Value Author(s) Examples

View source: R/subdata.R

Description

Data are splited into two subsets: gene single-isoform data and gene multi-isoform data.

Usage

1
subdata(xx, sg)

Arguments

xx

real data containing single-isoforms and multi-isoforms of genes in rows.

sg

int value.

Details

For the RNA count data, some genes have only one isoform, some genes have multiple isoforms. so data are divided by subdata.R into two datasets: single-isoform data and multi-isoform data.

Value

return dataset by setting sg=1 or sg=2.

Author(s)

Yuan-De Tan tanyuande@gmail.com

Examples

1
2
3
data(jkttcell)	
colnames(jkttcell)[3]<-"Gene"
jk.mg<-subdata(xx=jkttcell, sg=2)

NBBttest documentation built on July 2, 2020, 3:37 a.m.