Running examples in 'NanoStringNorm-Ex.R' failed
The error most likely occurred in:

> ### Name: other.normalization
> ### Title: other.normalization
> ### Aliases: other.normalization
> ### Keywords: NanoString Normalization mRNA miRNA
> 
> ### ** Examples
> 
> 
> # load the NanoString.mRNA dataset
> data(NanoString);
> 
> # specify housekeeping genes in annotation 
> NanoString.mRNA[NanoString.mRNA$Name %in% 
+ 	c('Eef1a1','Gapdh','Hprt1','Ppia','Sdha'),'Code.Class'] <- 'Housekeeping';
> 
> # z-value transformation. scale each sample to have a mean 0 and sd
> # by default all the other normalization methods are 'none'
> # you cannot apply a log because there are negative values
> # good for meta-analysis and cross platform comparison abstraction of effect size
> NanoString.mRNA.norm <- NanoStringNorm(
+ 	x = NanoString.mRNA,
+ 	OtherNorm = 'zscore',
+ 	return.matrix.of.endogenous.probes = TRUE
+ 	);

##############################
### NanoStringNorm v1.2.1 ###
##############################

There are 25 samples and 49 Endogenous genes 

OUTPUT.FORMATTING: log/rounding of zscores/rank.normal is intentionally not implemented.

> 
> 
> # inverse normal transformation. use quantiles to transform each sample to 
> # the normal distribution
> NanoString.mRNA.norm <- NanoStringNorm(
+ 	x = NanoString.mRNA,
+ 	OtherNorm = 'rank.normal',
+ 	return.matrix.of.endogenous.probes = TRUE
+ 	);

##############################
### NanoStringNorm v1.2.1 ###
##############################

There are 25 samples and 49 Endogenous genes 

OtherNorm.rank.normal: Genes to Fit:
 [1] "POS_A(128)"           "POS_B(32)"            "POS_C(8)"            
 [4] "POS_D(2)"             "POS_E(0.5)"           "POS_F(0.125)"        
 [7] "NEG_A(0)"             "NEG_B(0)"             "NEG_C(0)"            
[10] "NEG_D(0)"             "NEG_E(0)"             "NEG_F(0)"            
[13] "NEG_G(0)"             "NEG_H(0)"             "Ahrr"                
[16] "Aldh3a1"              "Bbs2"                 "Ccbl1"               
[19] "Cmkor1"               "Col18a1"              "Cyb5"                
[22] "Cyp1a1"               "Cyp1a2"               "Cyp1b1"              
[25] "Cyp2a1"               "Cyp2s1"               "Eef1a1"              
[28] "Eml4_predicted"       "Exoc3"                "Fdft1"               
[31] "Fmo1"                 "Gapdh"                "Gfer"                
[34] "Ghr"                  "Glud1"                "Hagh"                
[37] "Hprt1"                "Hsd17b12"             "Ivns1abp_predicted"  
[40] "Lasp1"                "LOC308846"            "LOC368066"           
[43] "Mawbp"                "Mug1"                 "Neu1"                
[46] "Nfe2l2"               "Nqo1"                 "Nrbp2"               
[49] "Nudt4"                "Pde2a"                "Perp_predicted"      
[52] "Pgk1"                 "Pmm1"                 "Ppia"                
[55] "Psmb4"                "RGD1305831_predicted" "RGD1311835"          
[58] "RGD1559716_predicted" "Rpl13A"               "Scn4b"               
[61] "Sdc1"                 "Sdha"                 "Slco1a1"             
[64] "Srxn1"                "Tiparp"               "Tpm1"                
[67] "Ugt1a1"               "Zfp422"              
OUTPUT.FORMATTING: log/rounding of zscores/rank.normal is intentionally not implemented.

> 
> # quantile normalization.  create an empirical distribution based on the 
> # median gene counts at the same rank across sample.  then transform each
> # sample to the empirical distribution.
> NanoString.mRNA.norm <- NanoStringNorm(
+ 	x = NanoString.mRNA,
+ 	OtherNorm = 'quantile',
+ 	return.matrix.of.endogenous.probes = FALSE
+ 	);

##############################
### NanoStringNorm v1.2.1 ###
##############################

There are 25 samples and 49 Endogenous genes 

Error in `[<-.data.frame`(`*tmp*`, batch.effects$sample.statistics ==  : 
  replacement has 1 row, data has 0
Calls: NanoStringNorm -> get.batch.effects -> [<- -> [<-.data.frame
Execution halted