ExcludeData: Exclude rows.

Description Usage Arguments Examples

Description

Excludes rows whose data are unusable due to missingness or observation errors.

Usage

1
ExcludeData(d, ColumnThreshold = 0.5, RowThreshold = 0.5, Type = c("Train", "Test"))

Arguments

d
ColumnThreshold
RowThreshold
Type

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (d, ColumnThreshold = 0.5, RowThreshold = 0.5, Type = c("Train", 
    "Test")) 
{
    d1 <- ExcludeGenes(d = d, Threshold = ColumnThreshold, Type = Type)
    ExcludedColumns = d1$ExcludedGeneList
    d2 <- ExcludeCells(d1$Data, RowThreshold)
    ExcludedRows = d2$ExclusionList
    Dd = list(ExcludedGenes = ExcludedColumns, ExcludedCells = ExcludedRows, 
        Data = d2$Data)
    return(Dd)
  }

bvnlab/SCATTome documentation built on May 13, 2019, 9:05 a.m.