compData
objectR/AllClasses.R
convertListTocompData.Rd
Given a list with data and results (resulting e.g. from compcodeR
version 0.1.0), convert it to a compData
object.
convertListTocompData(inp.list)
convertListTocompData(list(count.matrix = matrix(round(1000*runif(4000)), 1000),
sample.annotations = data.frame(condition = c(1,1,2,2)),
info.parameters = list(dataset = "mydata",
uID = "123456")))
#> An object of class compData
#> Dataset name: mydata
#> Number of samples: 4
#> Number of variables: 1000
#> Number of random outliers: 0
#> Number of single outliers: 0
#> Number of known truly differentially expressed genes: 0
#> No differential expression analysis has been performed.
#>
#> count.matrix:
#> [,1] [,2] [,3] [,4]
#> [1,] 450 930 19 673
#> [2,] 354 264 498 365
#> [3,] 456 786 543 632
#> [4,] 367 281 980 656
#> [5,] 852 639 699 151
#> [6,] 199 179 733 223
#> + 994 rows...
#>
#> sample.annotations:
#> condition
#> 1 1
#> 2 1
#> 3 2
#> 4 2
#>
#> variable.annotations:
#> data frame with 0 columns and 0 rows
#>