Learn R Programming

BASiCS (version 0.7.30)

newBASiCS_D_Data: Creates a BASiCS_D_Data object from expression counts matrices and experimental information about spike-in genes

Description

newBASiCS_D_Data creates a BASiCS_D_Data-class object from expression counts matrices and experimental information about spike-in genes.

Usage

newBASiCS_D_Data(CountsTest, CountsRef, Tech, SpikeInputTest, SpikeInputRef,
  BatchInfoTest = NULL, BatchInfoRef = NULL, GeneNames)

Arguments

CountsTest

Matrix of dimensions q times n_test whose elements corresponds to the raw expression counts in the test sample. First q.bio rows correspond to biological genes. Last q-q.bio rows correspond to technical spike-in genes.

CountsRef

Matrix of dimensions q times n_ref whose elements corresponds to the raw expression counts in the reference sample. First q.bio rows correspond to biological genes. Last q-q.bio rows correspond to technical spike-in genes.

Tech

Logical vector of length q. If Tech = F the gene is biological; otherwise the gene is spike-in.

SpikeInputTest

Vector of length q-q.bio whose elements indicate the input number of molecules for the spike-in genes in the test sample (amount per cell).

SpikeInputRef

Vector of length q-q.bio whose elements indicate the input number of molecules for the spike-in genes in the reference sample (amount per cell).

BatchInfoTest

Vector of length n_test indicating experimental batches for test group.

BatchInfoRef

Vector of length n_ref indicating experimental batches for test group.

GeneNames

Vector of gene ids.

Value

An object of class BASiCS_D_Data-class.

See Also

BASiCS_D_Data-class

Examples

Run this code
# NOT RUN {
# Rather than using this function, we recomend to use 'CombineBASiCS_Data'

# }

Run the code above in your browser using DataLab