Class that represents a gespeR model. It contains a SSP Phenotypes and TargetRelations
representing a siRNA knockdown experiment. When the model is fitted, it additionaly contains estimated GSP Phenotypes.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(gespeR)
Loading required package: ggplot2
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/gespeR/gespeR-class.Rd_%03d_medium.png", width=480, height=480)
> ### Name: gespeR-class
> ### Title: gespeR
> ### Aliases: gespeR gespeR,Phenotypes,TargetRelations-method
> ### gespeR,numeric,Matrix-method gespeR-class
>
> ### ** Examples
>
> phenos <- Phenotypes(system.file("extdata", "Phenotypes_screen_A.txt", package = "gespeR"),
+ type = "SSP",
+ col.id = 1,
+ col.score = 2)
> trels <- TargetRelations(readRDS(system.file("extdata", "TR_screen_A.rds", package = "gespeR")))
> res <- gespeR(phenotypes = phenos,
+ target.relations = trels,
+ mode = "stability",
+ nbootstrap = 100,
+ fraction = 0.67,
+ threshold = 0.75,
+ EV = 1,
+ weakness = 0.8,
+ ncores = 1)
> gsp(res)
1500 GSP Phenotypes
Source: local data frame [1,500 x 2]
ID Scores
<fctr> <dbl>
1 geneID_0001 NA
2 geneID_0002 NA
3 geneID_0003 NA
4 geneID_0004 NA
5 geneID_0005 NA
6 geneID_0006 NA
7 geneID_0007 NA
8 geneID_0008 NA
9 geneID_0009 NA
10 geneID_0010 NA
.. ... ...
>
>
>
>
>
> dev.off()
null device
1
>