Learn R Programming

NBBttest (version 1.0.1)

subdata: 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.

Value

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

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.

Examples

Run this code
# NOT RUN {
data(jkttcell)	
colnames(jkttcell)[3]<-"Gene"
jk.mg<-subdata(xx=jkttcell, sg=2)
# }

Run the code above in your browser using DataLab