sgRNAdistribute: sgRNAdistribute

Description Usage Arguments Value Examples

View source: R/sgRNAdistribute.R

Description

This function allows you to how the sgRNA distributed in terms of pvalue/fdr and fold change

Usage

1
2
3
4
5
6
sgRNAdistribute(enrichment.data = P5.P6.enrichment, ptotest = c(0.05,
  0.01, 0.001, 1e-04, 1e-05), pnames = c("<0.05", "<0.01", "<0.001",
  "<0.0001", "<0.00001"), FCtotest = c(1.2, 1.5, 2, 5, 10),
  FCnames = c(">1.2", ">1.5", ">2", ">5", ">10"), FC.lt = c(0.83, 0.66,
  0.5, 0.2, 0.1), FC.lt.names = c("<0.83", "<0.66", "<0.5", "<0.2",
  "<0.1"))

Arguments

enrichment.data

The data prepared by "ComputeEnrichment"

ptotest

a vector of p values to be tested

pnames

a vector of names of p values

FCtotest

a vector of fold change to be tested ( >1)

FCnames

a vector of names of fold change to be tested ( >1)

FC.lt

a vector of fold change to be tested ( <1)

FC.lt.names

a vector of names of fold change to be tested ( <1)

Value

No return but print out useful information of p value and fdr distribution

Examples

1
sgRNAdistribute(enrichment.data=P5.P6.enrichment,totest=c(0.05,0.01,0.001,0.0001,0.00001),pnames=c("<0.05","<0.01","<0.001","<0.0001","<0.00001"),FCtotest=c(1.2,1.5,2,5,10),FCnames=c(">1.2",">1.5",">2",">5",">10"),FC.lt=c(0.83,0.66,0.5,0.2,0.1),FC.lt.names=c("<0.83","<0.66","<0.5","<0.2","<0.1"))

chenweng1991/CrisprScreen documentation built on July 12, 2019, 11:42 a.m.