writeISS: Write ISS data in CSV formate

Description Usage Arguments Value Author(s) Examples

View source: R/1.2_writeISS.R

Description

Write ISS data in CSV formate.

Usage

1
2
3
writeISS(file, output = "", expr = TRUE, location = TRUE,
  cellid = "CellID", centX = "centroidX", centY = "centroidY",
  scientific = FALSE)

Arguments

file

File name in "MolDiaISS" class (Output of readISS).

output

A character string naming a file.

expr

Write expression data. TRUE or FALSE needed. Default is TRUE.

location

Write location data. TRUE or FALSE needed. Default is TRUE.

cellid

String to naming cell. Default is "CellID".

centX

Name of X co-ordinate in file. Default is "centroidX".

centY

Name of Y co-ordinate in file Default is "centroidY".

scientific

Fomate of location data. Either a logical specifying whether elements of a real or complex vector should be encoded in scientific format, or an integer. Default is FALSE.

Value

Output will be a CSV formated file.

Author(s)

Mohammad Tanvir Ahamed

Examples

1
2
3
4
##### Reading ISS data from CSV formate
data_1 <- readISS(file = system.file("extdata", "CellBlobs_QT_0.35.csv", package="MolDia"),
                  cellid = "CellID", centX = "centroidX", centY = "centroidY")
writeISS(file = data_1, output  = "test.csv", expr = F, location = T)

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