subdata: Splite data into two subsets

View source: R/subdata.R

subdataR Documentation

Splite data into two subsets

Description

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

Usage

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

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

NBBttest documentation built on May 30, 2022, 1:05 a.m.