Learn R Programming

gespeR (version 1.4.2)

Phenotypes-class: Phenotypes

Description

Class used to represent various types of phenotypes, e.g. from siRNA-specific (SSP) or estimated gene-specific phenotypes (GSP).

Usage

Phenotypes(phenotypes, ...)

## S3 method for class 'character': Phenotypes(phenotypes, type = c("SSP", "GSP"), sep = "\t", col.id = 1, col.score = 2)

## S3 method for class 'cellHTS': Phenotypes(phenotypes, channel, sample)

## S3 method for class 'Matrix': Phenotypes(phenotypes, ids = NULL, pnames = NULL, type = c("SSP", "GSP"))

Arguments

phenotypes
The phenotypes as numeric vector, path to a .txt file with two columns (1: identifiers, 2: values), or a cellHTS object
...
Additional arguments
type
The type of phenotype (GSP, SSP)
sep
The separator string
col.id
Column number for the siRNA identifiers
col.score
Column number(s) for the phenotype score
channel
The cellHTS channel identifier
sample
The cellHTS sample index
ids
The siRNA/gene identifiers
pnames
The phenotype identifiers

Value

  • A Phenotypes object

See Also

plot.Phenotypes

join

gsp

ssp

scores

concordance

Examples

Run this code
phenos <- Phenotypes(system.file("extdata", "Phenotypes_screen_A.txt", package = "gespeR"),
type = "SSP",
col.id = 1,
col.score = 2)

Run the code above in your browser using DataLab