ISS_filter: Filter ISS data based on poisson distibution

Description Usage Arguments Value Examples

View source: R/3.2_ISS_filter.R

Description

This function estimate the probabity of number of reads per cell in a specific range with desired mean (Rate or number or reads per cell) by Poisson distibution. By default current fuction calculate the mean from data.

Usage

1
ISS_filter(data, data_mean = NULL)

Arguments

data

Input data in class MolDiaISS. Output of readISS

data_mean

Expected mean of number of reads press cell. Default is NULL. See details.

Value

Number of reads with peobability

Examples

1
2
3
data_1 <- readISS(file = system.file("extdata", "CellBlobs_QT_0.35.csv", package="MolDia"),
                  cellid = "CellID", , centX = "centroidX", centY = "centroidY")
res    <- ISS_filter(data = data_1, data_mean = 10)

mashranga/MolDia documentation built on May 26, 2019, 9:36 a.m.