exportISS: Export ISS data in different formated file.

Description Usage Arguments Details Examples

View source: R/1.3_exportISS.R

Description

Export ISS data to different formated file which are compitible for other software or R package.

Usage

1
exportISS(file, toexport = "WB")

Arguments

file

Input data in class MolDiaISS. Output of readISS. See details.

toexport

To which formate data will export. See details.

Details

At present only non-segmentated file (file class MolDiaISS_nonsegment)is supported for exporting file formate compitible with R package wholebrainsoftware.

toexport only support "WB" argument at this moment, which is compitible with wholebrainsoftware.

Examples

1
2
3
4
5
6
7
8
9
###### Reading non-segmentated file
mdata   <- readISS(file = system.file("extdata", "nonSeg_QT_0.35_0_details.csv", package="MolDia"), segment = FALSE,
                 centX = "PosX", centY = "PosY", nogene = "NNNN", gene= c("Gdf7","WNT1","Pak3","Tfap2a"))

mdata_1 <- readISS(file = mdata, gene= c("Gdf7","WNT1","Pak3","Tfap2a"))
mdata_2 <- readISS(file = mdata, nogene = c("Gdf7","WNT1"))

mywb_1  <- exportISS(file = mdata_1, toexport= "WB")
mywb_2  <- exportISS(file = mdata_2, toexport= "WB")

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