newBASiCS_D_Data
creates a BASiCS_D_Data-class
object from
expression counts matrices and experimental information about spike-in genes.
newBASiCS_D_Data(CountsTest, CountsRef, Tech, SpikeInputTest, SpikeInputRef,
BatchInfoTest = NULL, BatchInfoRef = NULL, GeneNames)
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.
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.
Logical vector of length q
. If Tech = F
the gene is biological; otherwise the gene is spike-in.
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).
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).
Vector of length n_test
indicating experimental batches for test group.
Vector of length n_ref
indicating experimental batches for test group.
Vector of gene ids.
An object of class BASiCS_D_Data-class
.
# NOT RUN {
# Rather than using this function, we recomend to use 'CombineBASiCS_Data'
# }
Run the code above in your browser using DataLab